How to store a list of numbers generated as output in Python?
<p>Suppose I want to add several numbers together like:
1. Find even numbers between 1-100.
2. Find odd numbers between 2-200.
3. Add them.</p>

<p>So for this, I can check for even numbers and odd numbers respectively, but to add them, they must be stored somewhere. Now how can I do this?</p>

<p>i.e. store the output of the first step, store the output of second step and then add them together.</p>
