Suppose I have a
list l1 = [1, 2, 3, 4, 5]
then I create another list l2 from l1 by
l2 = l1
Now I try to remove 5 from l1.
but when I see L2 , 5 is removed from l2 also.
Why 5 is getting removed from l2.
Is it l2 and l1 sharing the same memory?
How can we make a list from another list, both sharing different memory address?