Miodrag Golubovićbulog.hashnode.dev·Nov 23, 2023Python trick - How to make lists not share the same memory locationYou 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 ...PythonAdd a thoughtful commentNo comments yetBe the first to start the conversation.