Dictionary is one of the built-in data structures in Python. Whenever we need to work with data those come in ‘Key: Value’ pair, we use dictionary. That means dictionaries are data structure that stores information associated with particular key. In this lesson, we will learn to use Python dictionary.
The Python code used in this lesson:
user = {
"Name": "Nuruzzaman Faruqui",
"Age": 28,
"Email": "[email protected]",
"is_Verified": True
}
user["Age"] = 29
user["Job"] = "Teaching"
print(user)
‘You are free to copy, edit, use and distribute this code without crediting the author. Enjoy copyright-free content.’ – Nuruzzaman Faruqui.
Watch video Dictionary in Python online without registration, duration hours minute second in high quality. This video was added by user Nuruzzaman Faruqui 21 September 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 281 once and liked it 2 people.