myNumber = 9 while True: guess=int(input()) if guess > myNumber: print(‘>‘) elif guess < myNumber: print(‘<‘) else: print(‘=‘) break
程序执行流程/布尔类型与布尔:运算猜数字游戏;库的使用:turtle
原文:https://www.cnblogs.com/angellau/p/8982528.html