what I want to manipulate is the first element of v, the second print is supposed to be
[[3], [], [], [], []].
Code:
v = [[]] * 4
print(v)
v[0].append(3); #what i want to manipulate is the first element of v
print(v)
output:
[[], [], [], [], []]
[[3], [3], [3], [3], [3]]