Commit 7c4ecd5b by BellCodeEditor

save project

parent aaf7a0da
Showing with 15 additions and 3 deletions
b=['袁术',]
a=['华雄']
a.insert(1,'关羽')
print(a)
a= ['华雄']
c=['颜良','文丑']
a.extend(c)
print(a)
\ No newline at end of file
...@@ -5,9 +5,9 @@ bro1="关羽" ...@@ -5,9 +5,9 @@ bro1="关羽"
bro2="刘备" bro2="刘备"
bro3="张飞" bro3="张飞"
bros=["刘备","关羽","张飞"] bros=["刘备","关羽","张飞"]
bro1=["关羽",160,8.5] bro1=["",160,8.5]
bro2=["刘备",161,9.1] bro2=["刘备",161,9.1]
bro3=["张飞",166,8.3] bro3=["张飞",166,8.3]
bros[0]="关羽" bros[0]="关羽"
bros[1]="刘备" bros[1]="刘备"
print(bros) print(bros
\ No newline at end of file \ 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