Post

@PythonPr Answer: [1, 2, 3, 4]
y = x means both variables point to the same list (same reference).
y.append(4) modifies that shared list.
So x also becomes → [1, 2, 3, 4]
English

@PythonPr the printout will be [1, 2, 3, 4] because x has been assigned to the variable y, so it's like a Shadow form of writing the code
English
















