Quiz Question 1 of 5
In the context of dictionaries in Python, which of the following scenarios could lead to a loss of data when manipulating the days
dictionary?
Choose the correct answer below:
-
A
Attempting to add a new key-value pair with an existing key without checking if the key already exists.
-
B
Iterating over the dictionary and removing keys conditionally.
-
C
Accessing a value using a key that does not exist in the dictionary.
-
D
Sorting the dictionary by keys and then converting it to a list.