def whitespace(line):
    """Return index of first non whitespace character on a line."""
    i = 0
    for char in line:
        if char != " ":
            break
        i += 1
    return i
dataset/ETHPy150Open richrd/suplemon/suplemon/helpers.py/whitespace/original