Recap & Practice

Check your understanding
1/7

A teammate clones your repo and immediately gets ModuleNotFoundError when running your script, even though it works fine for you. What two things from this lesson are the most likely fix?

Exercise · Graded

Combine the routing logic from Concept 2 with the error handling from Concept 3 — loop through `messages`, classify each one (or catch the case where it isn't a string), keep a running count for each category, and return all five counts. `return a, b, c` is valid Python — it returns multiple values at once, separated by commas.