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