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
Answer: B. repeated, unique — Python dictionary values may repeat, but keys must be unique.
- A.
repeated, repeated
- B.
repeated, unique
- C.
unique, repeated
- D.
unique, unique
Attempted by 478 students.
Show answer & explanation
Correct answer: B
Python dictionary values may repeat, but keys must be unique.
Loading lesson…