From: ptkwt@... (Phil Tomson) Date: 2004-01-21T12:55:00+09:00 Subject: Re: New to Python: my impression v. Perl/Ruby In article <20040120062032.13587.00000199@mb-m24.aol.com>, GGarramuno wrote: >>you can use 'for' >>for example, but: >> >> 10.times do something end >> >>is somehow so clear. It's almost zenlike. >> > >No, he can't. If you read his code carefully, he is using step() to count in >steps of 45. >Both for and times() are useless for that, as both always count in ones (also >times does not allow you to specify the beginning/end of the range, either, >just the number of times). Yes, I know. I wasnt' trying to show a solution to his problem, just a general example of integers being objects. Phil