by CodeChum Admin
Woah there, what are you doing roaming around past the curfew? I'm going to have to ask for some identification.
Instructions:
Input
A line containing an integer.
20
Output
A line containing a string.
Adult
print("Woah there, what are you doing roaming around past the curfew? I'm going to have to ask for some identification.")
age=int(input("What is your age?"))
if age>=18:
print('Adult')
else:
print('Minor')
Woah there, what are you doing roaming around past the curfew? I'm going to have to ask for some identification.
What is your age?20
Adult
Comments
Leave a comment