I am having a problem with python lists. The simplified version is:
mylist1 = [...some items in a list...]
mylist2 = mylist1
mylist1.pop(i)
mylist.insert(i,item)
print(mylist1)
print(mylist2)
the problem is that I want mylist2 to remain the original version of mylist1. Is there any workaround of this problem?