Python:循环
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")
 
                    
                
 
                
            
         浙公网安备 33010602011771号
浙公网安备 33010602011771号