Commit 2007d8b8 by BellCodeEditor

save project

parent 8776ed2b
Showing with 9 additions and 2 deletions
...@@ -15,4 +15,12 @@ def new_input(): ...@@ -15,4 +15,12 @@ def new_input():
print('-'*30) print('-'*30)
print(total) print(total)
return total return total
new_input() def sum1(money):
\ No newline at end of file sum=0
for i in money:
sum = sum + i
print(sum)
return sum
sum3=new_input()
sum1(sum3)
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