Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ total
Function
total
extra_tests/snippets/syntax_function_args.py:7–8 ·
view source on GitHub ↗
(a, b, c, d)
Source
from the content-addressed store, hash-verified
5
return
x+y
6
7
def
total(a, b, c, d):
8
return
sum(sum(a,b), sum(c,d))
9
10
11
assert total(1,1,1,1) == 4
Callers
1
syntax_function_args.py
File · 0.70
Calls
1
sum
Function · 0.70
Tested by
no test coverage detected