程序执行流程布尔类型与布尔:运算猜数字游戏;库的使用:turtle

mac2022-06-30  91

number = 23 while True: guess = int(input('请输入一个数字:')) if guess > number: print('>') elif guess < number: print('<') else: print('=') break

import turtle turtle.circle(100) turtle.circle(90) turtle.circle(80) turtle.circle(70) turtle.circle(60) turtle.color('red')

 

转载于:https://www.cnblogs.com/fkfkfk/p/9016349.html

相关资源:微信小程序源码-合集4.rar
最新回复(0)