python_8_guess】的更多相关文章

#python3和2都可以 #方法1 age_of_oldboy=56 count=0 while True: if count==3: break guess_age=int(input('guess age:')) if guess_age==age_of_oldboy: print('yes,you got it.') break#结束整个循环 elif guess_age>age_of_oldboy: print('think smaller...') else: print("t…