Commit 8662b65f by BellCodeEditor

save project

parent 7bcc8967
Showing with 10 additions and 2 deletions
...@@ -6,4 +6,12 @@ bros[0] = "关羽" ...@@ -6,4 +6,12 @@ bros[0] = "关羽"
bros[1] = "刘备" bros[1] = "刘备"
print(bros) print(bros)
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 = ['华雄']
b = ['袁术','夏侯惇','曹操','关羽']
b.pop(3)
b.pop(-1)
b.remove('关羽')
\ 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