c1
is a list of lists like this:
c1=[[1,2,3],[1,2,6],[7,8,6]]
for row in c1:
i want to keep track of whether there is a change in row[0]
for example:
in [1, 2, 3]
and [1, 2, 6]
there is no change in row[0]
however in [1, 2, 6]
and [ 7, 8, 6]
there is a change in row[0]
how do i catch this change? also i would like to know which row this changed occurred at