parameters: (a, b)
return_statement: return d
docstring: difference(list, list):
docstring_summary: difference(list, list):
docstring_tokens: difference ( list list ) :
function: def difference(a, b):
      """
      difference(list, list):
      """
      if not a: return b
      if not b: return a
      d = []
      for i in a:
          if (i not in b) and (i not in d):
              d.append(i)
      for i in b:
          if (i not in a) and (i not in d):
              d.append(i)
      return d
function_tokens: def difference ( a , b ) : if not a : return b if not b : return a d = [ ] for i in a : if ( i not in b ) and ( i not in d ) : d . append ( i ) for i in b : if ( i not in a ) and ( i not in d ) : d . append ( i ) return d