(strings)
去掉空格和后面的回车符号
    :param string:
    :return:
去掉空格和后面的回车符号
    :param string:
    :return:
去掉空格和后面的回车符号 : param string : : return :
def remove_space_line_symbol(strings):
    '''
    去掉空格和后面的回车符号
    :param string:
    :return:
    '''
    if strings:
        str_res= strings.replace(" ",'').replace("\n",'')
        return  str_res
    else:
        return ""
def remove_space_line_symbol ( strings ) : if strings : str_res = strings . replace ( " " , '' ) . replace ( "\n" , '' ) return str_res else : return ""