From 8fe71fe6dd498f6f8b1dd8795713f4e86936a7ef Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sat, 26 Feb 2022 21:23:09 +0800 Subject: [PATCH] save project --- __pycache__/func.cpython-37.pyc | Bin 0 -> 265 bytes func.py | 10 ++++------ 2 files changed, 4 insertions(+), 6 deletions(-) create mode 100644 __pycache__/func.cpython-37.pyc diff --git a/__pycache__/func.cpython-37.pyc b/__pycache__/func.cpython-37.pyc new file mode 100644 index 0000000..f4be376 Binary files /dev/null and b/__pycache__/func.cpython-37.pyc differ diff --git a/func.py b/func.py index 59de3d2..eef9b7e 100644 --- a/func.py +++ b/func.py @@ -1,6 +1,4 @@ - -def sum(money): - count=0 -for i in money: - count=count+i; - return count \ No newline at end of file +import func +data = func.new_input() +score = func.sum(data) +print("这位选手的分数为:"+srt(score)) \ No newline at end of file -- libgit2 0.25.0