Function range() in Python language does not give the expected result
<p>As a beginner in python, I was trying to test the function range() in the IDLE terminal.
I wrote in the terminal the below posted code and I expected to see result like this:</p>

<pre><code>range(10)==&gt;[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
</code></pre>

<p>But unfortunately, i do not get the expected result</p>

<p>Python Code I Tried:</p>

<pre><code>range(10)
print(range(10))
</code></pre>

<p>The Result From The shell:</p>

<pre><code>&gt;&gt;&gt;
print(range(10))
</code></pre>
