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