def dropname(ss, li):
 newli = li[:]
 for item in ss.split():
  newli.remove(item)
 return newli

def dropname ( ss , li ) : newli = li [ : ] for item in ss . split ( ) : newli . remove ( item ) return newli
drop names from a list of strings .