MCPcopy Create free account
hub / github.com/ZiniuLu/Python-100-Days / f2

Function f2

Day01-15/Day06/function5.py:28–32  ·  view source on GitHub ↗
(*args)

Source from the content-addressed store, hash-verified

26
27# 可变参数
28def f2(*args):
29 sum = 0
30 for num in args:
31 sum += num
32 return sum
33
34
35print(f2(1, 2, 3))

Callers 1

function5.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected