1.

Write the output for the following codes.A=(10:1000,20:2000,30:3000,40:4000, 50:5000} print A.items() print A.keys() print A.values()

Answer»

[(40, 4000), (10, 1000), (20, 2000), (50, 5000), (30, 3000)] 

[40,10, 20, 50, 30] 

[4000,1000, 2000,5000,3000]



Discussion

No Comment Found