| Hosted by CoCalc | Download
keys = [(0,1),(1,2)] # the length of keys maybe very long values = [0,1] # values have the s
dict(zip(keys,values))
{(0, 1): 0, (1, 2): 1}