From d09d8ac3269046e24fcdad6dccd990aa6e517733 Mon Sep 17 00:00:00 2001 From: user0010 <762326930@qq.com> Date: Sat, 21 Mar 2026 14:53:53 +0800 Subject: [PATCH] Add test.py with multiply function --- 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..50ba3ed --- /dev/null +++ b/test.py @@ -0,0 +1,8 @@ +def multiply(a, b): + """计算两个数字的乘积并返回结果""" + return a * b + +if __name__ == "__main__": + # 测试函数 + result = multiply(3, 4) + print(f"3 * 4 = {result}") \ No newline at end of file