Sign in to test your solution.
# Currency converter program # ------------------------- # Subprograms # ------------------------- def exchange(gbp, currency): # ------------------------- # Main program # ------------------------- money = exchange(gbp, currency) print(gbp, "GBP =", money, currency)

  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