def list_strings(arg):
 if isinstance(arg, str):
  return [arg]
 else:
  return arg

def list_strings ( arg ) : if isinstance ( arg , str ) : return [ arg ] else : return arg
always return a list of strings .