Commit 40a5b0e0 by BellCodeEditor

auto save

parent 6d88eca4
Showing with 10000 additions and 0 deletions
print("王八"*100000000000000000000000000000000000000000000000000000000000000000000)
\ No newline at end of file
def a():
total = []
while True:
unit= input("请输入:")
if unit=='q':
break
else:
try:
uni=int(unit)
except:
print('1')
else:
total.append(uni)
return total
def sum(lie):
content=0
for i in lie:
content=content+i
return content
coo=a()
d=sum(coo)
print(d)
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