Why no list as dict key?

Abdur-Rahmaan Janhangeer arj.python at gmail.com
Wed Apr 20 14:22:04 EDT 2022


Greetings list,

Using Python3.9, i cannot assign a list [1, 2] as key
to a dictionary. Why is that so? Thanks in advanced!

Kind Regards,

Abdur-Rahmaan Janhangeer
about <https://compileralchemy.github.io/> | blog
<https://www.pythonkitchen.com>
github <https://github.com/Abdur-RahmaanJ>
Mauritius


More information about the Python-list mailing list