Exemplo n.º 1
0
def main():
    n = 4
    print "The factorial of %d is %d" % (n, mymath.fact(n))
Exemplo n.º 2
0
from mymath import gcd, fact

assert(gcd(18, 12) == 6)
assert(fact(6) == 6*fact(5))