Commit 71775714 by BellCodeEditor

save project

parent b22eb45f
Showing with 20 additions and 2 deletions
...@@ -2,6 +2,9 @@ bor1="刘备" ...@@ -2,6 +2,9 @@ bor1="刘备"
bor2="关羽" bor2="关羽"
bor3="张飞" bor3="张飞"
bors=["刘备","关羽","张飞"] bors=["刘备","关羽","张飞"]
bor2="刘备" bro1=["关羽",160,8.5]
bor1="关羽" bro2=["刘备",161,9.1]
bro3=["张飞",166,8.3]
bors[1]="刘备"
bors[0]="关羽"
print(bors) print(bors)
\ No newline at end of file
b=['袁术','夏侯惇','曹操','关羽']
b.remove('关羽')
b.pop(3)
b.pop(-1)
print(b)
b=['袁术','夏侯惇','曹操','关羽']
b.remove('关羽')
#b.pop(3)
#b.pop(-1)
print(b)
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