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")

上一篇:Linux 别名 重定向 去重排序


下一篇:10.17 linux 文件权限