Functies

Sign in to test your solution.
def oppervlakte_van_driehoek( basis , hoogte ): opp = 0.5 * basis * hoogte print('Een driehoek met basis', basis, 'en hoogte', hoogte, 'heeft oppervlakte', opp ) print( oppervlakte_van_driehoek( 4.5 , 1.0 ) )

  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