Warning! It seems that you are using Dodona within another webpage, so not everything may work properly. Let your teacher know so that he can solve the problem by adjusting a setting in the learning environment. In the meantime, you can click this link to open Dodona in a new window.
Warning! The page was not fully loaded, probably because of a network issue. It could be that not all functionalities work as expected. Please try reloading the page.
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)