变量练习

age = input("请输入你的年龄:")
if int(age) < 10:
   print("小屁孩")
elif int(age) < 20:
print("青春期叛逆小屁孩")
elif int(age) < 30:
   print("开始混社会的小屁孩")
elif int(age) < 40:
   print("小屁孩该结婚了")
elif int(age) < 50:
   print("家里有个不听话的小屁孩")
elif int(age) < 60:
   print("马上变成不听话的老屁孩")
elif int(age) < 70:
   print("还活着不错的老屁孩")
"""
"""
iq =input("请输入王卓的智商:")
if int(iq) < 50:
   print("智障")

posted @ 2018-10-17 19:53  咖啡里不加糖  阅读(164)  评论(0编辑  收藏  举报