Check if ' i ' is even and sum is negative , make it positive by adding 1 + | s | into a [ i ]
elif ( i % 2 == 0 and sum <= 0 ) : NEW_LINE INDENT num_of_ops2 += ( 1 + abs ( sum ) ) NEW_LINE sum = 1 NEW_LINE DEDENT