day01_05 for循环
作者:互联网
# Author:Adminone
age_of_oldboy = 56
for i in range(0,3):
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("think bigger!")
else:
print("you have tried too many times..fuck off")
标签:oldboy,guess,think,05,day01,else,循环,print,age 来源: https://www.cnblogs.com/netflix/p/14854031.html