Examveda

What will be the output of the following Python code?
a={1:5,2:3,3:4}
print(a.pop(4,9))

A. 9

B. 3

C. Too many arguments for pop() method

D. 4

Answer: Option A


This Question Belongs to Python Program >> Dictionary In Python

Join The Discussion

Related Questions on Dictionary in Python