<doocs>1252.Cells with Odd Values in a Matrix_1.py
def oddCells( m: int, n: int, indices: List[List[int]]) -> int:
    row = [0] * m
    col = [0] * n
    for r, c in indices:
        row[r] += 1
        col[c] += 1
    return sum((i + j) % 2 for i in row for j in col)
def sample_funcname ( var_0 : int , var_2 : int , var_3 : List [ List [ int ] ] ) -> int :
    var_6 = [ 0 ] * var_0
    var_7 = [ 0 ] * var_2
    for var_8 , var_9 in var_3 :
        var_6 [ var_8 ] += 1
        var_7 [ var_9 ] += 1
    return sum ( ( var_12 + var_13 ) % 2 for var_12 in var_6 for var_13 in var_7 )
