Commit 1fa925cb by BellCodeEditor

save project

parent d40aa94f
Showing with 18 additions and 3 deletions
......@@ -8,11 +8,25 @@ def new_input():
try:
money= int(money)
except:
print("hdjesfohefjhe")
print("hbcdeegr")
finally:
total.append(unit)
total.append(money)
print("-"*30)
return total
resule = new_input()
result = new_input()
print(result)
def sum(money):
count = 0
for i in money:
count=count+i
return count
price = new_input()
pay = sum(price)
print("yhtrfhjtfjik"+str(pay)+"yuan")
\ 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