Commit 3a4c1a72 by BellCodeEditor

save project

parent 445155e9
Showing with 11 additions and 2 deletions
......@@ -10,4 +10,14 @@ bro2=["刘备",161,9.1]
bro3=["张飞",166,8.3]
bros[0]="关羽"
bros[1]="刘备"
print(bros)
\ No newline at end of file
print(bros)
b=['刘备','关羽','张飞']
b.pop(-1)
print(b)
a=['华雄']
a.insert(1,'关羽')
b=['关羽','颜良','文丑']
a=a+b
print(a)
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