Commit c5f82e68 by BellCodeEditor

save project

parent e641f44e
Showing with 7 additions and 4 deletions
...@@ -12,6 +12,9 @@ def new_input(): ...@@ -12,6 +12,9 @@ def new_input():
else: else:
total.append(price) total.append(price)
print(total) print(total)
new_input() return total
a=new_input()
sumnum=0
\ No newline at end of file for i in a:
sumnum+=i
print(sumnum)
\ 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