HomeTracks
Explorer···
THEEBUG
Completed0/9
Score0
PYlesson3.py×
THEEBUGlesson3.py
1
fruits = ["apple", "banana", "cherry"]
2
 
3
for i in range(______(fruits)):
4
print(fruits[i])
$[system] Theebug ready. Happy coding!
Code BlocksDrag blocks into the drop zones above
4 blocks available
len
size
count
total
Game Panel
0:000 pts
Level 3 of 9List Length
0/1 slots correct
Objective
Use the correct built-in function to loop through all fruits and print each one
Expected Output
apple
banana
cherry
Debug says:
Python has a built-in function that tells you how many items are in a list. Which one is it? Drag it in front of the parentheses!
Debug the Worm