Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
# 递归求和
2
def
listSum(numlist):
3
if
len(numlist) == 1:
4
return
numlist[0]
Callers
nothing calls this directly
Calls
4
listSum
Function · 0.85
listFactorial
Function · 0.85
toStr
Function · 0.85
Hanoi
Function · 0.85
Tested by
no test coverage detected