* elis aeris <[EMAIL PROTECTED]> [2007-07-19 08:51]:
> I ran this
> 
> 
> for x in range(5,10):
>    print x
> 
> and OP was
> 
> 5
> 6
> 7
> 8
> 9
> 
> why is that? shouldn't it print
> 
> 5
> 6
> 7
> 8
> 9
> 10?

That is the expected behaviour, per the documentation:
http://docs.python.org/lib/built-in-funcs.html#l2h-58

-- 
David Rock
[EMAIL PROTECTED]
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to