title: Syntax for reduce in python
body: <p>I attempted to emulate the structure of reduce from here: <a href="http://www.bogotobogo.com/python/python_fncs_map_filter_reduce.php" rel="nofollow">http://www.bogotobogo.com/python/python_fncs_map_filter_reduce.php</a></p>
  
  <p>This is my code:</p>
  
  <pre><code>def collector(ix, myiter):
    s = reduce((lambda x,y: x + "," + y), myiter) #syntax error
    return s
  </code></pre>
  
  <p>The error is:  </p>
  
  <blockquote>
    <p>SyntaxError: invalid syntax</p>
  </blockquote>
  
  <p>This is surely a "gimme" for a python pro to answer.</p>