Machtsverheffen

Sign in to test your solution.
# Functies: def machtsverheffen(grondtal, macht): """ Deze functie verheft het grondtal tot de macht aangegeven in de variabele macht. Inputparameters: grondtal: float of int macht: positieve int. Returnwaarde: getal (float of int). """ #SCHRIJF HIER JE OPLOSSING: # Hoofdcode: # DEZE CODE NIET VERANDEREN. # (Wordt gebruikt om automatisch na te kijken.) print("We gaan machtsverheffen. Geef eerst het grondtal en daarna de macht.") print(machtsverheffen(float(input()),int(input())))
You can submit as many times as you like. Only your latest submission will be taken into account.
Sign in to test your solution.

  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. This feature is still in full development, so we're happy to hear about your suggestions and issues using the contact form.