Commit 62f0568a by BellCodeEditor

auto save

parent 24f68893
Showing with 7 additions and 6 deletions
...@@ -17,12 +17,12 @@ def new_input(): ...@@ -17,12 +17,12 @@ def new_input():
count=0 count=0
def sum(money): def sum(money):
count=0 count=0
for i in monry: for i in money:
count=count=1 count=count+i
return ount return count
price=new_input() price=new_input()
sum(plice) sum(price)
pay=sum(plice) pay=sum(price)
print("共"+"str(pay)"+"元") 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