The method copy()
makes a superficial copy of the list, but I do not see any sense to use it, if I want to make a copy of the list I simply do:
lista2 = lista1
Instead of:
lista2 = lista1.copy()
What is the copy()
method for?