Commit 1ac2cb9e by BellCodeEditor

auto save

parent 0ccd6f7b
Showing with 17 additions and 3 deletions
price=[15,18,14,25]
sun=0
for i in price:
sun=sun+i
print("sun")
\ No newline at end of file
......@@ -17,7 +17,9 @@ def new_input():
def sum(money):
count = 0
for i in money:
count = count + i
count += i
return count
result =new_input()
print(result)
\ No newline at end of file
a = sum(result)
print(a)
\ 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