old_boy_age=56
count=0
while count<3:
guess_old_boy_age = int(input("guess_old_boy_age"))
if guess_old_boy_age==old_boy_age:
print("yes,you got it")
break
elif guess_old_boy_age>old_boy_age:
print("no,you guess bigger")
else:
print("no,you guess smaller")
count+=1
else:
print("you have too many times...fuck off")
Python:循环
猜你喜欢
转载自www.cnblogs.com/luckerzhang/p/9067259.html
今日推荐
周排行