コード例 #1
0
ファイル: main.py プロジェクト: nl-seoultech/pythonstudy
from fact.func import factorial

print factorial(5) #120
コード例 #2
0
def test_factorial():
    assert 120 == factorial(5)