Is it possible to create a dictionary comprehension in Python (for the keys)?
Without list comprehensions, you can use something like this:
l = [] fo
you can't hash a list like that. try this instead, it uses tuples
d[tuple([i for i in range(1,11)])] = True