Import tools in the binary.

This commit is contained in:
cedricbonhomme 2011-12-29 11:24:33 +01:00
parent 5c8f8610b4
commit f8da5e9761
3 changed files with 13 additions and 0 deletions

View file

@ -26,6 +26,15 @@ __license__ = "GPLv3"
import itertools
def identity():
"""
f(x) = x
"""
n = 0
while True:
yield n
n += 1
def fermat():
"""
Generate the n-th Fermat Number.