I have a list of strings stored in wk
I run the following code.
n_wk=wk
for i in range(10):
if some condition:
n_wk[i]='new'
I wanted to reserve the wk
values. But, the wk
is also getting changed along with n_wk
. can anyone point out the error in this?