⛔ Python Tip: Don’t Use if Statements to Count Items. Use defaultdict You have a list of items, and you want to know how many times each item appears in the list; a common beginner pattern is to write ...