I'm attempting to modifying the temp list and store the temp list in the possible list but I need to have list1 unchanged. When I ran this through Python, my temp list has not changed so I'm wondering where this has gone wrong.
list1 = [['1', '1', '1'],
     ['0', '0', '0'],
     ['2', '2', '2']]
temp = list1
possible = []
for i in range(len(temp)-1):
    if(temp[i][0] == 1):
            if(temp[i+1][0] == 0):
                    temp[i+1][0] == 1
possible = possible + temp
temp = list1
print(possible)
 
     
    