IndexError (oefening)

Sign in to test your solution.
def laatste_element( tupel ): lengte = len( tupel ) print( tupel[lengte] )

  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