Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("Welcome to the rollercoaster!")
- height = int(input("What is your height in cm? "))
- diff = 120 - height
- if height >= 120:
- print("Heres a ticket")
- else:
- print(
- f"Sorry you need to grow {diff}cm taller to ride :("
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement