def char_name(c):
    """
    Return the name of a character.
    Specifically, returns a descriptive name instead of whitespace.
    No type checking is done.
    Parameters:
        c: a string containing the character
    """
    cnames = {
        ' ': 'space',
        '\t': 'tab',
        '\n': 'newline',
        '\r': 'carriage return',
        '\f': 'formfeed',
        '\v': 'vertical tab',
        '\b': 'backspace',
        '\a': 'bell',
    }
    return cnames[c[0]] if c[0] in cnames else c[0]