MCPcopy Create free account
hub / github.com/Jack-Lee-Hiter/AlgorithmsByPython / Recursion.py

File Recursion.py

Recursion.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1# 递归求和
2def listSum(numlist):
3 if len(numlist) == 1:
4 return numlist[0]

Callers

nothing calls this directly

Calls 4

listSumFunction · 0.85
listFactorialFunction · 0.85
toStrFunction · 0.85
HanoiFunction · 0.85

Tested by

no test coverage detected