age = input (">What is your age?\n")
age =int(age)
print ("Based on your age you can..........")
if age >= 21:
print ("You can drink legally")
elif age >=18:
print ("You can't drink, but you can drive")
elif age >=14:
print ("You haven't even graduated from high school")
else:
print ("Sorry, no booze for you")
if age >10 and age <17:
print ("you are probably in highschool")
if not age ==10:
print("you are not 10")
if age !=10:
print("you are not 10")
if (age >20) or (age <30):
print ("you are between 20 and 30 years old")
No comments:
Post a Comment