python/amusement_park.py

10 lines
169 B
Python

age = 12
if age < 4:
print('Your admission price is $0.')
elif age < 18:
print('Your admission price is $25.')
else:
print('Your admission price is $40.')