title: Does python have an equivalent to C#'s Enumerable.Aggregate?
body: <p>In C#, if I have a collection of strings, and I want to get a comma-separated string representing of the collection (without extraneous comments at the beginning or end), I can do this:</p>
  
  <pre><code>string result = collection.Aggregate((s1, s2) =&gt; String.Format("{0}, {1}", s1, s2));
  </code></pre>
  
  <p>I could do something like</p>
  
  <pre><code>result = collection[0]
  for string in collection[1:]:
      result = "{0}, {1}".format(result, string)
  </code></pre>
  
  <p>But this feels like a cludge. Does python have an elegant way to accomplish the same thing?</p>