Commit da3600a4 by BellCodeEditor

save project

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