from string import printable


def unprintable(mystring):
    """return only the unprintable characters of a string"""
    return ''.join(
        character
        for character in mystring
        if character not in printable
    )