Chapter 5 - Python Quest
Arrays And Strings
Walk through lists and words, build new answers, and compare positions.
XP
0Level 1Stars
0/15quest starsCombo
0clean runsRank
Seed0/160 Python scoreList and string loops
100 XPWord Length Lab
A library helper measures words before putting them on tiny labels.
Write word_lengths(words) so it returns a list with the length of each word.
Sample checks
word_lengths(["cat","banana",""])returns[3,6,0]Explanation: words can have different lengths
word_lengths([])returns[]Explanation: no words means no lengths
Hint
Hints are ready when you want one.
Lesson reference
Review: Looping through a list
Your Python
word_lengths
Loading editor
Judge
Ready
Run your code when it feels ready.
