From e3c74b34a60379fa99b1a66a3d5c02d6ec2ad6cc Mon Sep 17 00:00:00 2001
From: BellCodeEditor <bellcode_dev@bell.ai>
Date: Tue, 25 Jul 2023 16:30:58 +0800
Subject: [PATCH] auto save

---
 diy2.py | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/diy2.py b/diy2.py
index 5bec6a4..d6c4ed4 100644
--- a/diy2.py
+++ b/diy2.py
@@ -1,4 +1,8 @@
-message = "诺依,周末一起去看动漫展吧!"
-for i in message:
-    print(i)
-
+p=3.14
+r=float(input("请输入一个大于0的半径:"))
+a=2*r
+c=a*p
+s=p*r*r
+print("圆的直径是:%.2f"%a)
+print("圆的周长是:%.2f"%c)
+print("圆的面积是:%.2f"%s)
\ No newline at end of file
--
libgit2 0.25.0