Created
April 30, 2020 08:27
-
-
Save raeq/796b6b4fea5dc2e9d9ab6f831eaf0330 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
age = input("Please tell me your age: ") | |
age = int(age) | |
if age < 21: | |
print ("You may not hire a vehichle.") | |
elif age <25: | |
print ("We will add a 'young driver fee' to your rental bill.") | |
elif age < 45: | |
print ("Do you require a child seat for a small daily fee?") | |
elif age > 55: | |
print ("Are you interested in hiring a premium vehichle?") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment