Log in om je oplossingen te testen.
# 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

In dit venster kan je Python-code uitvoeren zonder iets te moeten installeren. De code die je hier schrijft wordt niet automatisch ingediend in Dodona.

Testgeval dat gedebugd wordt