1 age_old_girl=22 2 count=0 3 while count<3: 4 girl_age=int(input("请输入你的年龄:")) 5 if age_old_girl==girl_age: 6 print("年龄正确") 7 8 break 9 elif age_old_girl<girl_age: 10 print("年龄猜大了") 11 else: 12 print("年龄小了") 13 count += 1 14 else: 15 print("次数超过了三次...")
每个你讨厌的现在,都有一个不努力的曾经