def separate_list_input(input_):
 no_commas = input_.replace(',', ' ')
 return [str(string) for string in no_commas.split()]

def separate_list_input ( input_ ) : no_commas = input_ . replace ( ',' , ' ' ) return [ str ( string ) for string in no_commas . split ( ) ]
separate a comma or space separated list .