Python Basics Exercises: Dictionaries
source link: https://realpython.com/courses/basics-exercises-dictionaries/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Python Basics Exercises: Dictionaries
In plain English, a dictionary is a book containing the definitions of words. Each entry in a dictionary has two parts: the word being defined, and its definition.
Python dictionaries, like lists and tuples, store a collection of objects. However, instead of storing objects in a sequence, dictionaries hold information in pairs of data called key-value pairs. That is, each object in a dictionary has two parts: a key and a value. Each key is assigned a single value, which defines the relationship between the two sets.
In this video course, you’ll practice:
- What a dictionary is and how it’s structured
- How dictionaries differ from other data structures
- How to define and use dictionaries in your own code
This video course is part of the Python Basics series, which accompanies Python Basics: A Practical Introduction to Python 3. You can also check out the other Python Basics courses.
Note that you’ll be using IDLE to interact with Python throughout this course.
What’s Included:
- 24 Lessons
- Video Subtitles and Full Transcripts
- 2 Downloadable Resources
- Q&A With Python Experts: Ask a Question
- Certificate of Completion
Downloadable Resources:
Recommend
-
43
Python provides another composite data type called a dictionary , which is similar to a list in that it is a collection of objects. Here’s what you’ll learn in this tutorial:You’ll cover the b...
-
1
Python Basics: Dictionaries In plain English, a dictionary is a book containing the definitions of words. Each entry in a dictionary has two parts: the word being defined, and its definition. Py...
-
2
Python Basics Exercises: File System Operations In Python Basics: File System Operations, you learned how to u...
-
10
Python Basics Exercises: Modules and Packages In Python Basics: Modules and Pac...
-
7
Python Basics Exercises: Numbers and Math In Python Basics: Numbers and Math
-
1
Python Basics Exercises: Strings and String Methods In Python Basics: Str...
-
9
Python Basics Exercises: Reading and Writing Files Files play a key role in computing, as they store and transfer data. You likely come across numerous files on a daily...
-
7
Python Basics Exercises: Functions and Loops As you learned in Python Basics: Fu...
-
8
Python Basics Exercises: Lists and Tuples In Python Basics: Lists and Tuples, y...
-
2
Python Basics Exercises: Installing Packages With pip So far on the Python Basics learnin...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK