I need to walk through a list in Python, for example:
l = [2313, 1221, 1333, 66, 0, 0, 0, 0]
I would like if the current and next element in the list are equal to zero
replaces the current element and the next element by 1.
Or if the...
asked by
19.06.2016 / 02:16