Commit 8950d575 by BellCodeEditor

save project

parent 8a3580f5
Showing with 10 additions and 3 deletions
......@@ -12,5 +12,13 @@ def new_input():
print("!")
else:
total.append(unit)
print(total)
new_input()
\ No newline at end of file
return total
def ee(x):
count=0
for i in x:
count += i
return count
result=new_input()
pay=ee(result)
print("要付",pay,"元")
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