Add test.py with multiply function

This commit is contained in:
2026-03-21 14:53:53 +08:00
parent 2e92d203c1
commit d09d8ac326

8
test.py Normal file
View File

@@ -0,0 +1,8 @@
def multiply(a, b):
"""计算两个数字的乘积并返回结果"""
return a * b
if __name__ == "__main__":
# 测试函数
result = multiply(3, 4)
print(f"3 * 4 = {result}")