In this video, we will be talking about dictionary in Python. Dictionary behaves the same in Python 2 and Python 3 and hence this video should be valid for both the major versions of Python.
✅ WHAT IS A PYTHON DICTIONARY?
==================================
A Python dictionary is a data structure in Python where you can store the data in the form of a key/value pair. The key is used to access the value in a dictionary. Keys are unique and a dictionary in Python is unordered by its nature.
✅ WHY USE PYTHON DICTIONARY?
==================================
Python dictionary is needed for storing data in a key/value pair. Using a dictionary, we can get the value stored in a variable if we know the key associated with the value.
✅ WHAT IS COVERED IN THIS VIDEO OF PYTHON DICTIONARY
====================================================
We will cover the following topics inside this video:
1. What is a dictionary in Python?
2. How is a dictionary represented in a Python program?
3. Simple Python Dictionary example
4. How to get the value of a key in Python dictionary?
5. How to change or update the value of a key in Python dictionary?
6. How to find the length of a Python dictionary?
7. How to check if a key exists in a Python dictionary?
8. How to add a new key/value pair to an existing Python dictionary?
9. How to remove or delete an item from an existing Python dictionary?
10. Homework related to the topic of the Python dictionary.
✅ HOMEWORK
=============
Watch the end of the video to know about the homework for today. If you complete the homework successfully, you will be able to understand the concept of Dictionary in Python in a much better way.
✅ OTHER LINKS AND RESOURCES
==========================
🔴 YouTube Channel
https://www.youtube.com/user/ances200...
🔴 Python for Beginner Playlist
• Python for beginners
🔴 Follow me on Twitter
/ ances2006
🔴 Follow me on Instagram
/ therealanoopnair
🔴 Connect with me on LinkedIn
/ anoop1
#Python #PythonDictionary #PythonforBeginners #AnoopNair