python Dictionary Questions & Answers

Question 1: Which of the following statements is true?

Question 2: Which of following objects is not a valid declaration for dictionary?

Question 3: To delete a key value pair in dictionary, use _______.


Question 4: The items() method of dictionary returns ______.

Question 5: What will be the output of the following code?

nums = {"ONE":1, "TWO":2}