Boodschappenlijstje

Sign in to test your solution.
# Hoofdcode: print("Welkom! Laten we samen een boodschappenlijstje bijhouden!") print("Noem een product dat je wil kopen.") product = input() boodschappenlijstje = [] #aanmaken van een lege lijst. klaar = False while not klaar: #Voeg hieronder een regel toe om de code te laten werken: print("Wil je nog een product kopen?") antwoord = input() if antwoord == 'nee' or antwoord == "Nee": klaar = True continue print("Noem een product dat je wil kopen.") product = input() print("Hier is je hele lijstje:") print(boodschappenlijstje)
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.