MCPcopy Create free account
hub / github.com/E869120/math-algorithm-book / func

Function func

codes/python/Code_3_06_6.py:1–3  ·  view source on GitHub ↗
(N)

Source from the content-addressed store, hash-verified

1def func(N):
2 # func(N) → func(N-1) → ... → func(0) → func(-1) → func(-2) → ... と無限に呼び出されるので、プログラムが正常に動作しない
3 return func(N - 1) * N
4
5N = int(input())
6print(func(N))

Callers 1

Code_3_06_6.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected