the name of two data type each which can be used for key and value for dictionary.
Answers
Answered by
5
Answer:
- For example, you can use an integer, float, string, or Boolean as a dictionary key. However, neither a list nor another dictionary can serve as a dictionary key, because lists and dictionaries are mutable. Values, on the other hand, can be any type and can be used more than once.
Similar questions