From fdb4811b103f694d92269ab35e456f60b7c07974 Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Wed, 12 Jan 2022 11:28:03 +0800 Subject: [PATCH] save project --- __pycache__/func.cpython-37.pyc | Bin 0 -> 588 bytes func.py | 6 +++--- youyong.py | 2 +- 3 files changed, 4 insertions(+), 4 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..78316df Binary files /dev/null and b/__pycache__/func.cpython-37.pyc differ diff --git a/func.py b/func.py index 1f53cfd..c3d7c27 100644 --- a/func.py +++ b/func.py @@ -19,9 +19,9 @@ def sum(unit): for i in unit: count=count+i return count -price=new_input() -pay=sum(price) -print('您一共消费了'+str(pay)+'元,扫码还是现金?') +#price=new_input() +#pay=sum(price) +#print('您一共消费了'+str(pay)+'元,扫码还是现金?') diff --git a/youyong.py b/youyong.py index 48989de..734ff7e 100644 --- a/youyong.py +++ b/youyong.py @@ -1,4 +1,4 @@ import func data=func.new_input() score=func.sum(data) -print \ No newline at end of file +print('这位选手的总分是:'+str(score)) \ No newline at end of file -- libgit2 0.25.0