The whole crew gathers in the observation deck. Rocket spreads paper cards across the table.
"Let us make the star catalog with our hands," he says. "Each card is one star."
Raven lines the cards up in a row. "What do you notice if we number them the Python way?"
"The first card gets a 0," Rocket says. "So the last card is one less than the count."
Nova sparkles. "Here is a hint. Say the index out loud each time you touch a card."
| Bonus recap statement | True or false? |
|---|---|
| ["a", "b", "c"] has a last index of 2. | ? |
| A for loop visits each item once. | ? |
| elif runs when the if before it is True. | ? |
| A dictionary finds values by key. | ? |
Quest complete! Next week we find out what happens when one function calls another.