标签:python inpu print class IV end pre break att
age = 50 while True: user_input_age = int(input("age is: ")) if user_input_age == age: print(" Yes! \n") break #终止 elif user_input_age > age: print("age is smaller, try input batter!") else: print("age is batter, try input smaller!") print("End!")
标签:python inpu print class IV end pre break att
原文地址:https://www.cnblogs.com/mouni-11498/p/9197544.html