how to access triple dictionary in python code example
Example 1: how to use dictionaries in python 3
dict = {'Name': 'Zara', 'Age': 7, 'Class': 'First'}
print ("dict['Name']: ", dict['Name'])
print ("dict['Age']: ", dict['Age'])
Example 2: py3 dict values
Yes it's the exact same thing in Python 2:
d.values()
In Python 3 (where dict.values returns a view of the dictionary’s values instead):
list(d.values())