count numbers in the list are between 1 and 10 in python
<p>Im looking to create a program in python that asks the user to enter a list of numbers in [] format.</p>

<p>It then must count and display how many of those numbers in the list are between 1 and 10, 10 and 20,
20 and 30 ect.</p>

<p>Here is what i have so far.</p>

<pre><code>my_num = [int(i) for i in raw_input("Enter numbers... ").split(",")]

the_list = eval(my_num)

number = 0

if 1&lt;= my_num and my_num &lt;=10:
    number = number + 1
</code></pre>
