From f73d5deacbbd1015939aaac00c3a7a3e2df78cd0 Mon Sep 17 00:00:00 2001 From: "yinjun.chen1" Date: Sat, 10 Oct 2026 16:30:09 +0800 Subject: [PATCH] no message --- pythonProject/循环语句/for/乘法九九表.py | 5 +++++ pythonProject/闭包/1.py | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 pythonProject/循环语句/for/乘法九九表.py diff --git a/pythonProject/循环语句/for/乘法九九表.py b/pythonProject/循环语句/for/乘法九九表.py new file mode 100644 index 0000000..98a72d4 --- /dev/null +++ b/pythonProject/循环语句/for/乘法九九表.py @@ -0,0 +1,5 @@ +for i in range(1, 10): + for j in range(1, i + 1): + print("%s * %s = %s" % (i, j, i * j), end="\t") + print() + diff --git a/pythonProject/闭包/1.py b/pythonProject/闭包/1.py index c5fd0b5..a2457f1 100644 --- a/pythonProject/闭包/1.py +++ b/pythonProject/闭包/1.py @@ -5,6 +5,6 @@ def func1(): a = 1001 def func2(): - return a + return a return func2 print(func1()()) \ No newline at end of file