Commit dabab485 by BellCodeEditor

auto save

parent d6c81a0f
Showing with 19 additions and 0 deletions
def jiage():
list=[]
while True:
a=input("输入数据")
if a=='q':
break
else:
list.append(a)
print(list)
jiage()
# list=['wo',23,4,1,'54','23',2]
# sum=0
# for i in range(1,len(list)):
# sum=sum+int(list[i])
# print(sum)
\ 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