Commit 8692dbfb by BellCodeEditor

save project

parent e2f088ef
Showing with 9 additions and 8 deletions
bro1=["刘备",161,9.1] bor=["关羽",1,"刘备",2,"张飞",3]
bor2=["关羽",160,8.5] a="dddd"
bor3=["张飞",166,8.3] s="ffff"
bor=["关羽","刘备","张飞",'爸爸','妈妈']# 和你的小伙伴用列表讲讲桃园结义的故事,并说说这其中运用了哪些列表知识:bor2=[""]# 和你的小伙伴用列表讲讲桃园结义的故事,并说说这其中运用了哪些列表知识: for i in range(len(bor)):
a=['吕布'] if i%2==1 and bor[i]>s:
bor.insert(i-1,a)
print(bor[0:3]) bor.insert(i,s)
\ No newline at end of file break
\ 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