Computer Science, asked by avsrikanth015, 5 months ago

6. Suppose (1) D1 = {1: ‘One’,2:’Two’, 3: ‘Three’, 4:’Four’, 5:’Five’} D2 = {6: ‘Six’,7: ‘Seven’) Write the output for the following: >>>D1.items() >>>D2.values()

Answers

Answered by allysia
0

Answer:

\\\tt D1.items() returns:

dict_items([(1, 'One’), (2, 'Two'), (3, 'Three'), (4, 'Four'), (5, 'Five')])

\\\tt D2.values() returns :

dict_values(['Six', 'Seven'])

Similar questions