From b90cc05ea2ce18a474976d6b84a066fc1316829c Mon Sep 17 00:00:00 2001
From: BellCodeEditor <bellcode_dev@bell.ai>
Date: Sun, 1 May 2022 17:26:49 +0800
Subject: [PATCH] save project

---
 dsdsv   |  4 ++++
 func.py | 23 +++++++++++++++++++++++
 2 files changed, 27 insertions(+)
 create mode 100644 dsdsv
 create mode 100644 func.py

diff --git a/dsdsv b/dsdsv
new file mode 100644
index 0000000..de2bd4e
--- /dev/null
+++ b/dsdsv
@@ -0,0 +1,4 @@
+import func
+date=func.hhh()
+d=ff.sun(date)
+print(d)
diff --git a/func.py b/func.py
new file mode 100644
index 0000000..1431a0c
--- /dev/null
+++ b/func.py
@@ -0,0 +1,23 @@
+def hhh():
+    total = []
+    while True:
+        n=input("")
+        if unit== 'q':
+            break
+        try: 
+            n=int(n)
+        except:
+            print ("请输入整数")
+        else:
+            total.append(unit)
+    print(total)
+
+    return total 
+def sun(list1):
+    cond=0 
+    for i in list1:
+        cond+=i
+    return cond
+
+m=sun(hhh())
+print(m)
--
libgit2 0.25.0