本文共 307 字,大约阅读时间需要 1 分钟。
#Author QMCage = 56count=0while True: guess_age = int(input("guess age of age: ")) if guess_age == age: print ("yes , you got it") break elif guess_age > age: print ("think smaller....") else: print("think bigger ...") count = count + 1 if count>3: break
转载地址:http://vmmdi.baihongyu.com/