Commit 81a7cb56 by BellCodeEditor

save project

parent 0555c67b
Showing with 13 additions and 13 deletions
a=[]
while True:
b=input('请输入')
if b=='p':
break
else:
a.append(b)
print(a)
a=[3,5,23,13,6]
b=[1,3,5,7,6]
def c(li):
d=0
for i in li:
d+=i
return d
s1=c(a)
print(s1)
s2=c(b)
print(s2)
\ 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