Commit 9e223bed by BellCodeEditor

auto save

parent c0706243
Showing with 13 additions and 3 deletions
......@@ -11,5 +11,15 @@ def fdgsfgrwfds():
print("我踏马让你输入数字!!!!!!!!!")
else:
total.append(unit)
print("-"*30)
print(total)
\ No newline at end of file
finally:
print("-"*30)
return total
def sum(money):
count = 0
for i in money:
count = count+i
return count
price = fdgsfgrwfds()
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