I have the below python code:
x = range(3)
x.append(x)
x[3][3][3][3][0] = 5
The value of x after this is [5, 1, 2, [...]]. But, I dont understand how the parameter is passed in the above context. Can anyone please help me understand?
I have the below python code:
x = range(3)
x.append(x)
x[3][3][3][3][0] = 5
The value of x after this is [5, 1, 2, [...]]. But, I dont understand how the parameter is passed in the above context. Can anyone please help me understand?