[Tutor] List comprehension question

Steven D'Aprano steve at pearwood.info
Sat Nov 13 10:12:55 CET 2010


Richard D. Moores wrote:
> On Fri, Nov 12, 2010 at 15:26, Steven D'Aprano <steve at pearwood.info> wrote:

>>    best = t.repeat(number=10000, repeat=5)
>>    print round(best, 3)
> 
> t.repeat(number=10000, repeat=5) is a list of the 5 times, not the
> best of the 5.

Oops! Good catch. Sorry about that.



-- 
Steven


More information about the Tutor mailing list