def sublist(a, b):
 c = []
 for item in a:
  if (item not in b):
   c.append(item)
 return c

def sublist ( a , b ) : c = [ ] for item in a : if ( item not in b ) : c . append ( item ) return c
subtracts list b from list a and returns the resulting list .