Exemplo n.º 1
0
from fact.func import factorial

print factorial(5) #120
Exemplo n.º 2
0
def test_factorial():
    assert 120 == factorial(5)