Add comments to add function

This commit is contained in:
2026-02-26 20:17:10 +08:00
parent 3a2a5f3d06
commit d9c27b6eab

10
demo.py
View File

@@ -1,2 +1,12 @@
def add(a, b):
"""
计算两个数字的和
Args:
a: 第一个数字
b: 第二个数字
Returns:
两个数字的和
"""
return a + b