Examveda

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" 3:"C"

Answer: Option A


This Question Belongs to Python Program >> Dictionary In Python

Join The Discussion

Related Questions on Dictionary in Python