From 6fb36c3873ad430188ddd4216d6cfa0d0cb60591 Mon Sep 17 00:00:00 2001
From: BellCodeEditor <bellcode_dev@bell.ai>
Date: Sun, 19 Mar 2023 16:37:19 +0800
Subject: [PATCH] save project

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

diff --git a/__pycache__/func.cpython-37.pyc b/__pycache__/func.cpython-37.pyc
new file mode 100644
index 0000000..14506e2
Binary files /dev/null and b/__pycache__/func.cpython-37.pyc differ
diff --git a/func.py b/func.py
index 2c27ba6..b267710 100644
--- a/func.py
+++ b/func.py
@@ -14,8 +14,8 @@ def new_input():
             finally:
                 print("-"*30)
     return total
-b = new_input()
-print(b)
+#b = new_input()
+
 
 def sum(money):
     count = 0
@@ -24,6 +24,6 @@ def sum(money):
     return count
 
 
-b = new_input()
-c = sum(b)
-print("您一共消费" + str(c) + "元!扫码还是现金") 
\ No newline at end of file
+
+#c = sum(b)
+#print("您一共消费" + str(c) + "元!扫码还是现金") 
\ No newline at end of file
diff --git a/use.py b/use.py
new file mode 100644
index 0000000..e54081a
--- /dev/null
+++ b/use.py
@@ -0,0 +1,4 @@
+import func
+data = func.new_input()
+score = func.sum(data)
+print("这位选手的总分为:"+str(score))
\ No newline at end of file
--
libgit2 0.25.0