Python Refresher

Python in a Weekend - Booleans and If Statements

You run a ride at a theme park and can only let people 48" and taller ride the ride. Print yes or no depending one someone's height.

                height = 44


                    height = 44

if height >= 48:
  print('You can ride the ride!')
  print('Sorry, you\'re too short :/')

Here's some courses you might like: