dictionary python values code example
Example 1: dict value python
obj = {0:"hello", 1:"there"}
print(obj[0])
print(obj[1])
print("\n\n\n\n\n")
for i in range(len(obj)):
print(obj[i])
Example 2: dictionary in python
Dict = {"name": 'Izhaan', "salary": 1234, "age": 23}
print("\nDictionary with the use of string Keys: ")
print(Dict)