From 529a7837a99a68bb057319ac65a7776c2675aaf9 Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sun, 6 Dec 2020 14:58:46 +0800 Subject: [PATCH] save project --- func.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/func.py b/func.py index 09d4fa4..75d1c39 100644 --- a/func.py +++ b/func.py @@ -17,9 +17,10 @@ def sum(): for i in money: count=count+i return count - +price = new_input() +pay = sum(price) a=new_input() -print(a) +print("您一共消费了" + str(pay) + "元!扫码还是现金") -- libgit2 0.25.0