How do I generate test data for my Python script?
<p>A equation takes values in the following form :</p>

<pre><code>   x = [0x02,0x00]  # which is later internally converted to in the called function to  0x300
   y = [0x01, 0xFF]
   z = [0x01, 0x0F]
</code></pre>

<p>How do I generate a series of test values for this function ?
    for instance I want to send a 100 odd values from a for loop </p>

<pre><code>for i in range(0,300):
   # where a,b are derived for a range
   x = [a,b]
</code></pre>

<p>My question was a bit unclear so please let my clarify.
what I wanted to ask how I can do <code>x =[a,b]</code> generate different values for <code>a,b</code>   </p>
