Commit ad9e26b0 by BellCodeEditor

save project

parent a2d710b1
Showing with 5 additions and 1 deletions
...@@ -13,7 +13,11 @@ def new_input(): ...@@ -13,7 +13,11 @@ def new_input():
else: else:
total.append(unit) total.append(unit)
return total return total
print(new_input()) a=new_input()
sum=0
for i in range(len(a)):
sun+=a[i]
print(sum)
......
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