ah, my mistake. I was in a hurry writing that post, which is a really bad idea :/
On Thu, Sep 1, 2011 at 2:09 AM, Steven D'Aprano <st...@pearwood.info> wrote: > Hugo Arts wrote: > >> n % y == 0 if n is divisible by y. This is useful in factoring prime >> numbers > > If you find a way to factor *prime numbers*, you're doing something wrong. > > :) > > (By definition, a prime number has no factors apart from itself and one, > which are trivial.) > > You mean, factorising numbers into the product of primes. > > > > -- > Steven > _______________________________________________ > Tutor maillist - Tutor@python.org > To unsubscribe or change subscription options: > http://mail.python.org/mailman/listinfo/tutor > _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor