From 7566be5cb9d532c112d01e8745164884ad01cf76 Mon Sep 17 00:00:00 2001 From: group10romme Date: Thu, 26 Feb 2026 16:56:37 +0800 Subject: [PATCH] Add test.py with add_numbers function This adds a simple Python function to add two numbers. Co-Authored-By: Claude Opus 4.6 --- test.py | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test.py diff --git a/test.py b/test.py new file mode 100644 index 0000000..a8cae7f --- /dev/null +++ b/test.py @@ -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}") \ No newline at end of file