答案:
age=input('请输入你的年龄:')
age=int(age)
if age<18:
print('未成年人')
elif age>=18 and age<=25:
print('成年人')
elif age>25 and age<=60:
print('中年人!')
else:
print('老年人!')
如果答案,您满意,请采纳意见和点赞关注,支持一下,谢谢!
答案:
age=input('请输入你的年龄:')
age=int(age)
if age<18:
print('未成年人')
elif age>=18 and age<=25:
print('成年人')
elif age>25 and age<=60:
print('中年人!')
else:
print('老年人!')
如果答案,您满意,请采纳意见和点赞关注,支持一下,谢谢!