Computer Science
Which of the following types qualify to be the keys of a dictionary?
- String
- tuple
- Integer
- float
- list
- dictionary
Related Questions
How is indexing of a dictionary different from that of a list or a string?
What do you understand by ordered collection and unordered collection ? Give examples.
How are individual elements of dictionaries accessed?
Can you change an element of a sequence or collection? What if a collection is a dictionary? What if a sequence is a string?