how to print elements in dictionary in python code example
Example 1: python dictionary
#title :Dictionary Example
#author :Josh Cogburn
#date :20191127
#github :https://github.com/josh-cogburn
#====================================================
thisdict = {
"brand": "Ford",
"model": "Mustang",
"year": 1964
}
#Assigning a value
thisdict["year"] = 2018
Example 2: dictionary in python
Dict = {"name": 'Izhaan', "salary": 1234, "age": 23}
print("\nDictionary with the use of string Keys: ")
print(Dict)