Commit 9eecb3f8 by BellCodeEditor

save project

parent c6277526
import quiz
n=quiz.new_input()
s=quiz.sum(n)
print(s)
\ No newline at end of file
def new_input():
total = []
while True:
......@@ -16,5 +17,5 @@ def sum(money):
s=0
for i in money:
s=s+i
print("共消费"+str(s)+"元")
# print("共消费"+str(s)+"元")
sum(b)
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