Namen met klinker

Sign in to test your solution.
# invoer via de input()-functie levert altijd een string op, zoals je weet # we willen deze string omzetten naar de equivalente lijst # dat kan als volgt # je hoeft niet te begrijpen wat er precies gebeurt import ast invoer = input('Geef een lijst met namen:') # invoer is bv. de string '['Gaston', 'Lowie', 'Lio', 'Lowie', 'Lowie']' lijst = ast.literal_eval(invoer) # lijst is dan de lijst ['Gaston', 'Lowie', 'Lio', 'Lowie', 'Lowie']
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.

Test case being debugged