标签:while \n inf 执行流程 guess 分享 输入 print war
myNum=9 print(‘猜字游戏练练玩\n‘) while True: guess=int(input(‘请输入一个数字 :‘)) if guess<myNum: print(‘猜大了‘) elif guess>myNum: print(‘猜小了‘) else: print(‘你终于猜对了‘) break
import turtle turtle.circle(100) turtle.circle(200)
import turtle turtle.circle (200) turtle.left(90) turtle.up() turtle.forward(100) turtle.circle(100) turtle.right(90) turtle.forward(100) turtle.forward(100) turtle.right(90) turtle.circle(100) turtle.left(180) turtle.left(180) turtle.forward(100) turtle.circle(100) turtle.forward(100) turtle.circle(100) turtle.down() turtle.circle(100)
标签:while \n inf 执行流程 guess 分享 输入 print war
原文地址:https://www.cnblogs.com/NNKK/p/8976620.html