Commit eabcfeea by BellCodeEditor

auto save

parent 794d1d62
Showing with 6 additions and 1 deletions
del new_input():
def new_input():
total = []
while True:
unit= input("请输入:")
......@@ -13,3 +13,8 @@ del new_input():
total.append(unit)
return total
a = new_input()
q = 0
for i in a:
q += i
print(q)
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