0
Which of the following can be used as a key for a dictionary? Select all that apply dictionary list string Tuple set
List String tuple dictionary set
2 Antworten
+ 4
Dhananjay Netam Is this module quiz?
+ 1
Hi, Dhananjay Netam !
You should read about harshable objects. All immutable objects kan be used as keys in dictionaries. Tuples too, as long as its element are harshable (the can’t be list etc).