Commit e2169c37 by BellCodeEditor

save project

parent 42583b29
Showing with 8 additions and 2 deletions
...@@ -15,4 +15,10 @@ bro3=["张飞",166,8.3] ...@@ -15,4 +15,10 @@ bro3=["张飞",166,8.3]
bros[0]="关羽" bros[0]="关羽"
bros[1]="刘备" bros[1]="刘备"
for i in range(len(bros)): for i in range(len(bros)):
print(bros[i]) print(bros[i])
\ No newline at end of file a=["华雄"]
c=["颜良","文丑"]
a.insert(1,"关羽")
a.append("张飞")
a.extend(c)
print(a)
\ 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