From 349cf5b3961b0ecb112cea84b3e876fe5d731e70 Mon Sep 17 00:00:00 2001 From: hyt868888 Date: Sat, 21 Mar 2026 15:42:29 +0800 Subject: [PATCH] test commit --- text.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 text.py diff --git a/text.py b/text.py new file mode 100644 index 0000000..f5124f4 --- /dev/null +++ b/text.py @@ -0,0 +1,18 @@ +#!/usr/bin/env python3 +# -*- coding: utf-8 -*- + +def multiply(a, b): + """返回两个数的乘积""" + return a * b + +if __name__ == "__main__": + # 定义两个变量 + x = 5 + y = 3 + + # 计算乘积 + result = multiply(x, y) + + # 输出结果 + print(f"变量 x = {x}, y = {y}") + print(f"乘积 x * y = {result}") \ No newline at end of file