It is, but range(2,2) doesn't do anything

Jesus Rivero - Neurogeek


John Salerno wrote:

>Can someone tell me why 'n' in this example isn't 2?
>
> >>> for n in range(2, 10):
>       for x in range(2, n):
>               print 'x =', x, 'n =', n
>
>               
>x = 2 n = 3
>  
>

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to