Advertisements
Advertisements
Question
Write the output of the code given below:
my_dict = {"name": "Aman", "age": 26}
my_dict['age'] = 27
my_dict['address'] = "Delhi"
print(my_dict.items())One Line Answer
Advertisements
Solution
dict_items([('name', 'Aman'), ('age', 27), ('address', 'Delhi')])shaalaa.com
Is there an error in this question or solution?
