My requirement is , i want a final list as output which should
participate in loop during concatenation with other list (i got as an output of some other computation),but with below
implementation its not working due to memory referencing ,how can i avoid this. IN PYTHON
Please excuse me for my grammar
test_list=[[0,1],[2,3]]
result_list=[]
for i in range(3):
result_list=list(result_list)+list(test_list)
test_list.pop()
//this below line is affecting the result_list also,how to avoid this
test_list[0][1]+=1