修改total为result
parent
185055719c
commit
109351046b
|
@ -61,7 +61,7 @@ def calc(*args, **kwargs):
|
||||||
result += arg
|
result += arg
|
||||||
for value in kwargs.values():
|
for value in kwargs.values():
|
||||||
result += value
|
result += value
|
||||||
return total
|
return result
|
||||||
|
|
||||||
|
|
||||||
print(calc()) # 0
|
print(calc()) # 0
|
||||||
|
|
Loading…
Reference in New Issue