How to copy a list? – Tutorials (Here’s how to…) – Snap! Forum https://forum.snap.berkeley.edu/t/how-to-copy-a-list/10161
It's super easy! Just do this: As can you see, it creates a deep copy of the list: Want a shallow copy? Do this: You will see that only copies the top-level of the list (means that deeper ranks share the origin…
That’s why ID ends up answering a deepcopy of whichever structure you hand it to.