From 168878fa7d041f1503df2d2eb9468dab4672f8e8 Mon Sep 17 00:00:00 2001
From: BellCodeEditor <bellcode_dev@bell.ai>
Date: Sat, 13 May 2023 17:24:13 +0800
Subject: [PATCH] save project

---
 __pycache__/func.cpython-37.pyc | Bin 0 -> 537 bytes
 func.py                         | 4 +---
 swim.py                         | 5 +++++
 3 files changed, 6 insertions(+), 3 deletions(-)
 create mode 100644 __pycache__/func.cpython-37.pyc
 create mode 100644 swim.py

diff --git a/__pycache__/func.cpython-37.pyc b/__pycache__/func.cpython-37.pyc
new file mode 100644
index 0000000..607edc3
Binary files /dev/null and b/__pycache__/func.cpython-37.pyc differ
diff --git a/func.py b/func.py
index d4830f3..94418fd 100644
--- a/func.py
+++ b/func.py
@@ -12,11 +12,9 @@ def input_unit():
             total.append(unit)
 
     return total
-def sum(list) 
+def sum(list):
     count = 0
     for i in list:
         count+=i
     return count
 
-result = input_unit()
-print(sum(result))
\ No newline at end of file
diff --git a/swim.py b/swim.py
new file mode 100644
index 0000000..328a2b9
--- /dev/null
+++ b/swim.py
@@ -0,0 +1,5 @@
+import func
+
+list = func.input_unit()
+score = func.sum(list)
+print(score)
\ No newline at end of file
--
libgit2 0.25.0