1# copying a large dictionary 2 3a = {i: 2 * i for i in range(1000)} 4b = a.copy() 5for i in range(1000): 6 print(i, b[i]) 7print(len(b)) 8