Curso_Intensivo_de_PYTHON/chapter_07/rollercoaster.py

8 lines
202 B
Python
Raw Normal View History

2023-06-02 17:22:53 +02:00
height = input("How tall are you, in inches? ")
height = int(height)
if height >= 48:
print("\nYou're tall enough to ride!")
else:
print("\nYou'll be able to ride when you're a little older.")