Commit 2124d61d by BellCodeEditor

save project

parent 42e6a825
Showing with 3 additions and 2 deletions
def new_input()
def new_input():
total = []
while True:
unit= input("请输入:")
......@@ -20,6 +20,6 @@ def sum(money):
return count
prict=new_input()
price=new_input()
pay=sum(price)
print(str(pay)+"元")
\ 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