From fe23ed2bc175505920e85bbd81c44b1ab3cdda3a Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sat, 23 Jan 2021 15:15:29 +0800 Subject: [PATCH] save project --- diy2.py | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 diy2.py diff --git a/diy2.py b/diy2.py new file mode 100644 index 0000000..0ee88d2 --- /dev/null +++ b/diy2.py @@ -0,0 +1,9 @@ + # 行 +# 使用变量i和j,代替乘法算式里面的元素,打印出单个乘法算式 +for i in range(1,10): + + for j in range(1,i+1): + + print(j,"*",i,"=",i*j,end=" ") + + print("\n") \ No newline at end of file -- libgit2 0.25.0