From 1c304a2a241ab73704420cc879830fd4b79ee33f Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sat, 6 Nov 2021 10:49:10 +0800 Subject: [PATCH] auto save --- diy3.py | 3 ++- diy5.py | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 diy5.py diff --git a/diy3.py b/diy3.py index 83eacf4..08e2275 100644 --- a/diy3.py +++ b/diy3.py @@ -1,3 +1,4 @@ message = "诺依,周末一起去看动漫展吧!" -# 请使用索引的知识,取出message所有元素(不用遍历的方式) \ No newline at end of file + + diff --git a/diy5.py b/diy5.py new file mode 100644 index 0000000..2d55696 --- /dev/null +++ b/diy5.py @@ -0,0 +1,6 @@ +a=int(input("长")) +b=int(input("宽")) +S=a*b +C=(a+b)*2 +print("面积是:"+ str(S)) +print("周长是:"+ str(C)) \ No newline at end of file -- libgit2 0.25.0