Add test.py with add_numbers function

This adds a simple Python function to add two numbers.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-26 16:56:37 +08:00
parent 669aec5e9f
commit 7566be5cb9

8
test.py Normal file
View File

@@ -0,0 +1,8 @@
def add_numbers(a, b):
"""返回两个数字的和"""
return a + b
if __name__ == "__main__":
# 示例用法
result = add_numbers(3, 5)
print(f"3 + 5 = {result}")