def process_string(string):
    """
    # strip() method removes whitespace, \n, \t at the beginning and end (both sides) of a string

    :param string: any string
    :return: processed string
    """

    string = string.strip()
    string = string.strip('\n')
    string = string.strip('\t')
    string = string.strip()

    return string