On Aug 20, 9:22 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> I see on this link "# Python is 
> Stupid"http://schlake.livejournal.com/809567.html
> Code is
>
> #!/usr/bin/env python
> for flour in range( 50, 1000 + 1, 5): # Python is Stupid
>   print '%.2f %.2f %.2f' % ( (flour), (flour * 0.6), (flour * 0.02) )
>
> Output is corect  :D

Just a guess, but the comment may refer to the specification of range.
Specifically, he writes 1000 + 1 to include 1000 in the range, as
range is not inclusive.

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

Reply via email to