title: How to run an operation on a collection in Python and collect the results?
body: <p>How to run an operation on a collection in Python and collect the results?</p>
  
  <p>So if I have a list of 100 numbers, and I want to run a function like this for each of them:</p>
  
  <pre><code>Operation ( originalElement, anotherVar ) # returns new number.
  </code></pre>
  
  <p>and collect the result like so:</p>
  
  <p>result = another list...</p>
  
  <p>How do I do it? Maybe using lambdas?</p>