Sign in to test your solution.
# Fish tank volume problem # ------------------------- # Subprograms # ------------------------- def volume(length, width, height): def litres_to_gallons(litres): # ------------------------- # Main program # ------------------------- length = width = height = litres = gallons = print("A", length, "x", width, "x", height, "cm tank is", litres, "litres and", gallons, "imperial gallons.")

  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