Commit c5874d7a by BellCodeEditor

save project

parent b498e56a
Showing with 1 additions and 1 deletions
...@@ -15,7 +15,7 @@ def a(): ...@@ -15,7 +15,7 @@ def a():
def sum(unit): def sum(unit):
count = 0 count = 0
for i in unit: for i in unit:
count = count + i count = count + int(i)
return count return count
price = a() price = a()
pay = sum(price) pay = sum(price)
......
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