MCPcopy Index your code
hub / github.com/RustPython/RustPython / total

Function total

extra_tests/snippets/syntax_call_nested.py:5–6  ·  view source on GitHub ↗
(a,b,c,d)

Source from the content-addressed store, hash-verified

3 return x+y
4
5def total(a,b,c,d):
6 return sum(sum(a,b),sum(c,d))
7
8assert total(1,2,3,4) == 10

Callers 1

Calls 1

sumFunction · 0.70

Tested by

no test coverage detected