Which of the following is an invalid method/function in a Python dictionary?
Show answerHide answer
Correct answer: (B) remove ()
Explanation
Python dictionaries have pop(), popitem() and get(), but no remove() method. remove() belongs to lists and sets.