Skip to content

Instantly share code, notes, and snippets.

@raeq
Created April 30, 2020 08:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save raeq/796b6b4fea5dc2e9d9ab6f831eaf0330 to your computer and use it in GitHub Desktop.
Save raeq/796b6b4fea5dc2e9d9ab6f831eaf0330 to your computer and use it in GitHub Desktop.
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