From 9dcb5b90088d73b7548e03d84e37311d55e0ca7a Mon Sep 17 00:00:00 2001
From: BellCodeEditor <bellcode_dev@bell.ai>
Date: Fri, 22 Jul 2022 12:05:39 +0800
Subject: [PATCH] save project

---
 func.py | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 func.py

diff --git a/func.py b/func.py
new file mode 100644
index 0000000..8b161c9
--- /dev/null
+++ b/func.py
@@ -0,0 +1,21 @@
+def new_input():
+    total = []
+    while True:
+        unit= input("请输入:")
+        if unit== 'q':
+            break
+        else:
+            try:
+                unit=int(unit)
+            except:
+                print("shuru")
+            else:
+                total.append(unit)
+    return total
+def amont(sum):
+    sm=0
+    for i in sm():
+        sm+=i
+    print("总金额是",sm)
+
+
--
libgit2 0.25.0