Python Dictionaries and List Comprehensions
Posted on Oct 27th, 2021
Today’s topics
- Dictionaries
- Tuples
- Lists and list comprehensions
🐍 Code Break
🎯 Project
Continue yesterday’s project, Word Frequency. A dictionary will help you solve the problem of counting words.
At minimum you should be able to count words and print that count, even if the formatting of your output is not 100% on point.
🔖 Resources
- RealPython: Python lists and tuples
- Python Docs: List comprehensions
- Python list comprehensions explained visually
- RealPython: Sorting in Python
- Python Docs: Dictionaries