Python trick - How to make lists not share the same memory location
You need to copy the original L2 list as L1 list and save it.
But, you don’t want the L1 list to change when the L2 list changes.
Doing this as follows will change the members in both lists, because lists L1 and L2 share the same memory location:
L2 ...
bulog.hashnode.dev4 min read