Examveda

What will be the output of the following Python code?
>>> a=dict()
>>> a[1]

A. An exception is thrown since the dictionary is empty

B. ' '

C. 1

D. 0

Answer: Option A


This Question Belongs to Python Program >> Dictionary In Python

Join The Discussion

Related Questions on Dictionary in Python