猜年龄,用户输入超过3次询问是否继续,用Y/N判断
age = 20i = 0while i < 3:guess = int(input("请输入年龄: "))if not guess == age and (age - 3) < guess < (age + 3):print(“接近我的年龄咯,继续猜!”)elif guess >= (age + 3):print(“猜大了,继续猜!”)elif guess...