Category
Dictionaries
7-Day Challenge
Land Your First Data Science Job
A proven roadmap to prepare for $75K+ entry-level data roles. Perfect for Data Scientist ready to level up their career.
Build portfolios that hiring managers love
Master the Python and SQL essentials to be industry-ready
Practice with real interview questions from tech companies
Access to the $100k/y Data Scientist Cheatsheet
Fundamentals
5 min readHow to create a dictionary in Python
This article explains how to create a dictionary in Python, a data structure used to store key-value pairs, using curly braces, colons and also using dict() constructor and list of tuples, and how to access, modify and use various dictionary methods such as keys(), values() and items().
2/3/2023Read More
Fundamentals
1 min readHow to loop over a dictionary using Python
Learn how to loop over a dictionary in Python.
The three most used methods.
12/4/2021Read More
Fundamentals
1 min readHow to add an element to a dictionary in Python
Learn how to add an element to a dictionary in Python.
11/21/2021Read More
Free Newsletter
Master Data Science in Days, Not Months 🚀
Skip the theoretical rabbit holes. Get practical data science skills delivered in bite-sized lessons – Approach used by real data scientist. Not bookworms. 📚
Weekly simple and practical lessons
Access to ready to use code examples
Skip the math, focus on results
Learn while drinking your coffee