def onlywhite(line):
    'Return true if the line does only consist of whitespace characters.'
    for c in line:
        if ((c != ' ') and (c != '  ')):
            return (c == ' ')
    return line
Return true if the line does only consist of whitespace characters.
def onlywhite(line):
    
    for c in line:
        if ((c != ' ') and (c != '  ')):
            return (c == ' ')
    return line