Closed codingpotato closed 2 years ago
dict = {'Name': 'Zara', 'Age': 7, 'Class': 'First'} print("dict['Name']:", dict['Name']) # dict['Name']: Zara print("dict['Age']:", dict['Age']) # "dict['Age']: 7 dict['Age'] = 8 dict['School'] = "DPS School" print("dict['Age']:", dict['Age']) # dict['Age']: 8 print("dict['School']:", dict['School']) # dict['School']: DPS School