title: Having a generator expression as an input argument in Python
body: <p>How can I interact with the values of a generator expression? For instance: </p>
  
  <pre><code>def sumValues(*args):
  # compute the sum of values
  
  sumValues(abs(x) for x in range(0,10))
  </code></pre>
  
  <p>When the range is known (e.g., we know the range is [0,10)), we can put a for loop, but what if the range is unknown?</p>