Update 第020课:函数使用进阶.md

应回传为result
pull/7/head
yaji1122 2020-06-09 14:39:40 +08:00 committed by GitHub
parent d4ed9c7ded
commit b6042cf70d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ def calc(*args, **kwargs):
result += arg
for value in kwargs.values():
result += value
return total
return result
print(calc()) # 0