From: GGarramuno@... (GGarramuno) Date: 2004-01-23T05:54:59+09:00 Subject: Re: New to Python: my impression v. Perl/Ruby "John W. Kennedy" wrote in message news:... > tprime = (1 << n) - 1 > test = 4 > (n - 2).times {test = (test * test - 2) % tprime} > puts "(2**#{n})-1, #{tprime}, is prime" if test.zero? Well, as a new user, that kind of constructs would scare me quite a lot as an example of times() being used in real code. Perhaps having been doing too much python has spoiled me, but I had to read the line 2 or 3 times before I realized where times() even was and where its block begun, unlike the previous clear examples using do/end constructs.