Log in om je oplossingen te testen.
# Compound interest program # ------------------------- # Subprograms # ------------------------- def compound(balance, interest_rate, target_balance): print("Year", year,": Balance £", balance) # ------------------------- # Main program # ------------------------- compound(balance, interest_rate, target_balance)

  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