Commit e8098ed9 by BellCodeEditor

save project

parent f8ec66f1
Showing with 2 additions and 2 deletions
...@@ -13,10 +13,10 @@ def new_input(): ...@@ -13,10 +13,10 @@ def new_input():
total.append(unit) total.append(unit)
return total return total
def sum(unit): def sum(unit):
cont = 0 count = 0
for i in unit: for i in unit:
count = count + int(i) count = count + int(i)
return count return count
price = new_input() price = new_input()
pay = sum(price) pay = sum(price)
print('qqqqq'+str(pay) + 'j')) print('qqqqq'+str(pay) + 'j')
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