Home
Tracks
Reset
Help
Theebug — Learn Python by Doing
Light
Explorer
···
▼
THEEBUG
lesson1.py
lesson2.py
lesson3.py
lesson4.py
lesson5.py
lesson6.py
lesson7.py
lesson8.py
lesson9.py
Completed
0/9
Score
0
PY
lesson7.py
×
THEEBUG
›
lesson7.py
1
fruits
=
[
"apple"
,
"banana"
,
"cherry"
]
2
for
fruit
______
fruits
:
3
print
(
fruit
)
TERMINAL
PROBLEMS
OUTPUT
DEBUG CONSOLE
⊕
⋮
$
[system] Theebug ready. Happy coding!
Code Blocks
Drag blocks into the drop zones above
4 blocks available
in
of
on
=
Game Panel
0:00
0 pts
Level 7 of 9
Loops
0/1 slots correct
Objective
Complete the for loop to print each fruit
Expected Output
apple
banana
cherry
Debug says:
Python's for loop uses a specific keyword to say "for each item in this collection". Which one?
Debug the Worm