Commit 44504e41 by BellCodeEditor

save project

parent 2091a2cc
Showing with 3 additions and 11 deletions
...@@ -15,14 +15,5 @@ def new_jinput(): ...@@ -15,14 +15,5 @@ def new_jinput():
finally: finally:
print("-"*30) print("-"*30)
return total return total
tesult=new_jinput()
print(tesult)
def sum(money): \ No newline at end of file
count=0
for i in money:
count=count+1
return count
price=new_jinput()
pay=sum(price)
print("一共消费"+str(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