What do these lines of code do?
<p>I am working with <code>numpy</code>. I encountered this line of code. </p>

<pre><code>a = (1.,80.,5.)
</code></pre>

<p>What does this mean? At some other line, I found</p>

<pre><code>aList = np.arange(a[0], a[1]+a[2], a[2])
</code></pre>

<p><strong>Note:</strong> <code>np</code> is namespace assigned from <code>numpy</code>.</p>

<p>For the first one, it is a tuple of 3 items:</p>

<pre><code>&gt;&gt;&gt; a = (1.,80.,5.)
&gt;&gt;&gt; a
(1.0, 80.0, 5.0)
</code></pre>

<p>For the second one, it generates a list (start: 1.0, end: 80.0 + 5.0, step: 5.0):</p>

<pre><code>&gt;&gt;&gt; a_list = numpy.arange(a[0], a[1]+a[2], a[2])
&gt;&gt;&gt; a_list
array([  1.,   6.,  11.,  16.,  21.,  26.,  31.,  36.,  41.,  46.,  51.,
        56.,  61.,  66.,  71.,  76.,  81.])
</code></pre>

python numpy