Oefenen met indexen

Sign in to test your solution.
#Vraag A: zorg dat de variabele antwoord_A (alleen) het karakter @ bevat. mail = "[email protected]" antwoord_A = mail[?] #Vraag B: zorg dat de variabele antwoord_B (alleen) de tekens 腦科 bevat. chinees_woord = "電腦科學" antwoord_B = chinees_woord[?] #Vraag C: zorg dat de variabele antwoord_C (alleen) de letters ABCDEFG bevat. alfabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" antwoord_C = alfabet[?] #Vraag D: zorg dat de variabele antwoord_D (alleen) de letters Meneer Graff bevat. brief = """Beste leerlingen, Deze periode gaan jullie leren programmeren in Python. Neem alvast het inleidende hoofdstuk uit jullie boek door. Met vriendelijke groeten, Meneer Graff""" antwoord_D = brief[?] # ONDERSTAANDE CODE NIET WIJZIGEN! # (Deze code wordt gebruikt om je oplossing automatisch na te kijken.) print(antwoord_A) print(antwoord_B) print(antwoord_C) print(antwoord_D)
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.