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