a = {} b = a[(1, 2)] b = a["something"] print b