10. What is the output of the following code:
A={1:100,2:200,3:300,4:480,5.500
print (A.items)
print (A.keys)
print (A.values()
A.[(1, 100), (2, 200), (3, 300), (4,400), V5, 500);
[1, 2, 3, 4, 5]
[100, 200, 300, 400, 500]
B.[(4, 100), (4, 200), (4, 300), (4,400), (4,500)]
[1, 2, 3, 4, 5]
1100, 200, 300, 400, 500]
C.[(1, 1000), (2, 2000), (3, 3000), (4, 4000), (5000)]
[1,2,3,4,5)
[100, 200, 300, 400, 500]
D.[(1, 100), (2, 200), (3, 300), (4,400), 45, 500)]
[1.2, 3, 4, 5]
[10, 20, 30, 40, 50]
Answers
Answered by
1
Answer:
What will be the output of the following Python code snippet? a={1:"A",2:"B",3:"C"} for i,j in a.items(): print(i,j, end=" "). a) 1 A 2 B 3 C b) 1 2 3 c) A B C d) 1:”A” 2:”B”
Similar questions
Business Studies,
7 months ago
Math,
7 months ago
Hindi,
11 months ago
World Languages,
11 months ago
Biology,
11 months ago