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