Vidyalelo
Python · Q43

MCQs for Python Dictionaries: Exam

Programming · Python · question 43

Q43

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

A.
9
Answer
B.
3
C.
Too many arguments for pop() method
D.
4

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board