Chapter 4 - Python Quest
Collections
Use list size, indexes, membership, and list-building loops.
XP
0Level 1Stars
0/18quest starsCombo
0clean runsRank
Seed0/160 Python scoreCollections
100 XPLineup Size
A teacher checks how many kids are waiting in the field trip line.
Write lineup_size(names) so it returns how many names are in the list.
Sample checks
lineup_size(["Mia","Sam","Noor"])returns3Explanation: three kids in line
lineup_size([])returns0Explanation: empty line
Hint
Hints are ready when you want one.
Lesson reference
Review: Lists hold many values
Your Python
lineup_size
Loading editor
Judge
Ready
Run your code when it feels ready.
