myNum=20 print(‘猜字游戏练练玩\n‘) while True: guess=int(input(‘请输入一个数字 :‘)) if guess>myNum: print(‘猜大了‘) elif guess<myNum: print(‘猜小了‘) else: print(‘你终于猜对了‘) break
import turtle turtle.circle(10) turtle.circle(20) turtle.circle(30) turtle.circle(40) turtle.circle(50)
原文:https://www.cnblogs.com/ljj1002/p/8990924.html