Date1

#Author:Brill
count = 0
age = 56
while count < 3:
guess_age = int(input("please guess age :"))
if guess_age == age:
print("You got it !")
break
elif guess_age > age:
print("Please think it smaller!")
else:
print("Please tkink it bigger !")
count += 1
if count == 3:
print("Ok,It's over!")
print("Do you want to try it again:?")
confirm_it = input("Yes or No:")
if confirm_it != "No":
count = 0
print("Come on ,you can do it !" )
else:
print("Thank you !")
posted @ 2018-05-10 10:49  iDataSharing  阅读(181)  评论(0编辑  收藏  举报