0

Is there any way for it to be possible to use dictionaries as the keys to another dictionary? For example:

a = {
        {a: 2, b: 4}: 5,
        {a: 5, b: 6}: 8,
    }

I tried this and I read up on the error for unhashable type, but this is just mostly out of curiousity incase there is a way?

DhyeyL
  • 25
  • 5

0 Answers0