Python syntax question
<p>I am teaching myself python. I was thinking of small programs, and came up with an idea to do a keno number generator. For any who don't know, you can pick 4-12 numbers, ranged 1-80, to match. So the first is part asks how many numbers, the second generates them. I came up with</p>

<pre><code>x = raw_input('How many numbers do you want to play?')
for i in x:
   random.randrange(1,81)
print i
</code></pre>

<p>Which doesn't work, it prints x. So I am wondering the best way to do this. Make a random.randrange function? And how do i call it x times based on user input. </p>

<p>As always, thank you in advance for the help</p>
