Sign in to test your solution.
# States of water program # ------------------------- # Subprograms # ------------------------- def water_state(centigrade): # ------------------------- # Main program # ------------------------- state = water_state(temperature) print("The water is in a", state, "state.")

  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