Commit d73bd87d by BellCodeEditor

save project

parent 2d007826
Showing with 3 additions and 3 deletions
...@@ -13,11 +13,11 @@ def new_input(): ...@@ -13,11 +13,11 @@ def new_input():
total.append(unit1) total.append(unit1)
print(total) print(total)
return total return total
p = new_input() # p = new_input()
def and_new(money): def and_new(money):
count = 0 count = 0
for i in money: for i in money:
count = count + i count = count + i
return count return count
#print(count) #print(count)
print(and_new(p)) # print(and_new(p))
\ No newline at end of file \ 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