Dictionary Iteration: What will the output be of the following code?

Code

D = {1:['Raj', 22], 2:['Simran', 21], 3:['Rahul', 40]}
for val in D:
     print(val)
Tags
programsbuzz banner