Afiz โšก๏ธ
Afiz โšก๏ธ

@itsafiz

7 Tweets Nov 22, 2022
Dictionary in Python (with code snippets)
Dictionaries are one of the most used Data structures in Python.
In this thread, we will learn how to create a dictionary and some other important operations.
A Thread ๐Ÿงต๐Ÿ‘‡
Dictionary is an unordered collection of key-value pairs.
Dictionary is defined using {} and each item is a pair of keys and values.
Accessing Items from Dictionary
Adding new values
Updating values:
All together:
Dictionary is an unordered collection of key-value pairs. Dictionary is defined using {} and each item is a pair of keys and values.
Some of the examples ๐Ÿ‘‡
That's a wrap!
I hope you like this content.
If you are interested in
๐Ÿ Python
โš™๏ธ Software Engineering
๐Ÿ“ˆ Data Science
๐Ÿค– Machine Learning & AI
Make sure to follow me โ†’ @itsafiz

Loading suggestions...