Sign in to test your solution.
# Ride height program # ------------------------- # Subprograms # ------------------------- def valid_height(height): if height > 104: return True else: return False # ------------------------- # Main program # ------------------------- height = float(input("Enter the height of the person in cm: ")) if valid_height(height): print("Height OK.") else: print("Sorry, you are too small.")

  Python sandbox

This window allows you to run Python code without installing a thing. The code you write here is not automatically submitted to Dodona.

Test case being debugged