Commit c3d12b3b by BellCodeEditor

save project

parent f45c8396
Showing with 11 additions and 2 deletions
...@@ -16,4 +16,13 @@ def nem_input(): ...@@ -16,4 +16,13 @@ def nem_input():
return total return total
result=nem_input() result=nem_input()
print(result) print(result)
\ No newline at end of file def sum(monev):
count=0
for i in money:
count=count+1
return count
price=nem_input()
pay=sum(price)
print(sty(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