import copy a = [[2, 3, 5], [1, 3, 5]]b = copy.deepcopy(a)b[0][1] = 100print(a) #https://pt.stackoverflow.com/q/341040/101
Standard input is empty
[[2, 3, 5], [1, 3, 5]]
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!