The values in a dictionary can be _____ but the keys in the dictionary should…
2024
The values in a dictionary can be _____ but the keys in the dictionary should be _____ in Python programming languages
- A.
repeated, repeated
- B.
repeated, unique
- C.
unique, repeated
- D.
unique, unique
Attempted by 113 students.
Show answer & explanation
Correct answer: B
Python dictionary values may repeat, but keys must be unique.