is there any pythonic way to convert a set into a dict?
I got the following set
s = {1,2,4,5,6}
and want the following dict
<
This is also another way to do
s = {1,2,3,4,5} dict([ (elem, 0) for elem in s ])