3. The following code has two dictionaries with tuples as keys. While one of these dictionaries being successfully created, the other is giving some error. Find out which dictionary will be created successfully and which one will give error and correct it :

dict1 = { (1, 2) : [1, 2], (3, 4) : [3, 4] }
dict2 = { ([1], [2]) : [1, 2], ([3], [4]) : [3, 4]]}

dict1 will be created successfully while dict2 will give errors because its keys contain tuples which contain lists inside them. Tuples which are being used as a key in a dictionary should not contain any mutable type object.