Checkpoint 9.12.2.
Does the following prompt require an accumulation pattern? If so, what words indicate that? For each string in
wrds, add ‘ed’ to the end of the word (to make the word past tense). Save these past tense words to a list called past_wrds.
- Yes; "save... to a list"
- Correct!
- Yes; "add ’ed’ to the end of the word"
- Not quite - these words don’t necessarily mean that we want to accumulate the new strings into a new variable.
- No
- In this case, an accumulation pattern would be good to use!
