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

Function sum2y

extra_tests/snippets/syntax_function_args.py:18–19  ·  view source on GitHub ↗
(x, y)

Source from the content-addressed store, hash-verified

16
17
18def sum2y(x, y):
19 return x+y*2
20
21
22assert sum2y(1, 1) == 3

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected