Infinite prime number generator

Thomas Mlynarczyk thomas at mlynarczyk-webdesign.de
Tue Jun 29 17:10:17 EDT 2010


Thomas Jollans schrieb:
> def primes():
>     yield 1

1 is not a prime number.

Greetings,
Thomas

-- 
Ce n'est pas parce qu'ils sont nombreux à avoir tort qu'ils ont raison!
(Coluche)



More information about the Python-list mailing list