Vidyalelo
Python · Q6

MCQs for Python Dictionaries: Exam

Programming · Python · question 6

Q6

Which method is used to remove a key-value pair from a dictionary?

A.
pop()
Answer
B.
remove()
C.
delete()
D.
discard()

Answer: Option A

Solution

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