Drop links or images here to add them to the editor.

Opgave

Schrijf een functie langste_titel(playlist). playlist is een lijst van strings. Je functie geeft de langste titel terug die voorkomt in playlist. Test je code in Dodona.

Voorbeeld

Invoer:

> langste_titel(['Ruimtevaarder', 'Purple Rain', 'Solsbury Hill', 'Eloise', 'God Only Knows'])

Uitvoer:

God Only Knows