Python输错重输while小程序

age_of_oldboy=98
count=0
while True: 
	count+=1 
	guess_age = int(input("guess age:"))
	 if guess_age==age_of_oldboy: 
		print("You got it !") 
		break 
	elif guess_age


你可能感兴趣的:(Python输错重输while小程序)