What effects do declaring a variable outside a for loop (for appending to a list) has on later manipulations of items in a list?
1607
List of lists changes reflected across sublists unexpectedly
26433
How does variable assignment work in JavaScript?
19638
What is the purpose of the var keyword and when should I use it (or omit it)?
63017
How does a for loop work, specifically for(;;)?
50796
How to modify list entries during for loop?
2373
Variable assignment and modification (in python)
119468
How do you create different variable names while in a loop?
135920
accessing loop variable within a loop
52303
Why is list when passed without ref to a function acting like passed with ref?
68612
Strange result when removing item from a list while iterating over it
7167
difference between variables inside and outside of __init__()
59951
Why does list.append evaluate to false in a boolean context?
95634
Python The appended element in the list changes as its original variable changes
83608
Is it possible to dereference variable id's?
135345
Appending to Variables
14742
In C#, why can't a List object be stored in a List variable
73992
Assigning values to a list of variable names