Post

@PythonPr Answer: A (yes, the list `a` gets modified!)
Solution: Let's see what's happening under the hood.
a = [2,4,6,8,9]
creates a list with those values, and attaches the name `a` to it.
b = a
this looks up the list referenced by `a`, and gives it an additional name, `b`.
So now
+
English

@PythonPr there is a list with those values, and there are two names attached to it: a and b.
In other words, `a` and `b` are different names, but they refer to exactly the same object in memory.
It's like having two names for the same dog.
Now
b[4] = 10
Here
+
English

