Nov-08-2019, 03:21 PM
By observing you can understand. The id() function perfringo is using shows the address of the item in question. So he is showing that in the first two instances, it's all residing in the same memory address: it's all pointing to the same list. In his last example, there are four different addresses, indicating four different lists.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures