From 76c761ccbc203ccbb5c84b6589bfabaf89514c77 Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Fri, 5 Aug 2022 10:44:47 +0800 Subject: [PATCH] save project --- __pycache__/func.cpython-37.pyc | Bin 0 -> 581 bytes func.py | 4 +--- 啥也不会.py | 4 ++++ 3 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 __pycache__/func.cpython-37.pyc create mode 100644 啥也不会.py diff --git a/__pycache__/func.cpython-37.pyc b/__pycache__/func.cpython-37.pyc new file mode 100644 index 0000000..8a32e06 Binary files /dev/null and b/__pycache__/func.cpython-37.pyc differ diff --git a/func.py b/func.py index cdccc50..bdc0653 100644 --- a/func.py +++ b/func.py @@ -16,6 +16,4 @@ def sum(a): b = 0 for i in a: b = b + i - return b -result = sum(new_input()) -print(result) \ No newline at end of file + return b \ No newline at end of file diff --git "a/\345\225\245\344\271\237\344\270\215\344\274\232.py" "b/\345\225\245\344\271\237\344\270\215\344\274\232.py" new file mode 100644 index 0000000..236151b --- /dev/null +++ "b/\345\225\245\344\271\237\344\270\215\344\274\232.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