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

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