Commit 6fb36c38 by BellCodeEditor

save project

parent 3da71791
......@@ -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
import func
data = func.new_input()
score = func.sum(data)
print("这位选手的总分为:"+str(score))
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment