Commit cecc4063 by BellCodeEditor

save project

parent 2780bcff
Showing with 7 additions and 0 deletions
...@@ -12,5 +12,11 @@ def new_input(): ...@@ -12,5 +12,11 @@ def new_input():
total.append(unit) total.append(unit)
print(total) print(total)
return unit return unit
def sum():
c = 0
for i in total():
c = c+i
return c
new_input() new_input()
\ 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