标签:color 语句 pre put inpu int == col 练习
age=int(input("请输入你家小狗的姓名")) if age<0: print("别闹,腰不好") elif age==1: print("相当于十四岁的人") elif age==2: print("相当于22岁的人") elif age>2: human=22+(age-2)*5 print("对应的年龄是",human)
标签:color 语句 pre put inpu int == col 练习
原文地址:https://www.cnblogs.com/waox/p/12120481.html