age=32
for i in range(5):
age1=int(input("请输入数字:"))
if age==age1:
print("正确")
break
elif age>age1:
print("小于")
else:
print("大于")本文出自 “Python学习历程” 博客,请务必保留此出处http://769082.blog.51cto.com/759082/1980900
原文:http://769082.blog.51cto.com/759082/1980900