Create a dictionary in python which is indexed by lists.
- by Chris
I would like to create a dictionary which is indexed by lists. For instance, my dictionary should look like:
D = {[1,2,3]:1, [2,3]:3}
Anyone know how to do this? If I just type D([1,2,3]) = 1 it returns an error.