Computer Science, asked by eshan07, 6 months ago

the name of two data type each which can be used for key and value for dictionary.​

Answers

Answered by crazygirl60
5

Answer:

  1. 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