#input()函数的输入默认都是字符串,不可以比大小,使用int()内嵌就可以定义input的输入为数字
age =int(input('please input your age:' ))
# While循环的意思就是满足条件的在缩进内循环,不满足条件则跳出循环
# 循环及判断语句都以冒号作为结尾:
while age <=0 or age >150:
print("please re-try,your age must more then ZERO and less than 150!!")
age =int(input('please input your age:'))
print("Your age group is as below:")
if age >=18:
print('Adult')
# elif就是 else if的缩写,如果不是,再继续做下一个条件的判断
elif age >=10:
print('Teenager')
elif age >2:
print('Kid')
else:
print("Baby")