Commit 35af728c by BellCodeEditor

save project

parent 61967567
Showing with 3 additions and 2 deletions
......@@ -6,7 +6,7 @@
b=['袁术','夏侯惇','曹操','关羽']
b.remove("关羽")
print(b)
for i in range(len(b))
for i in range(len(b)):
if b[i]=="关羽"
b.pop(i)
b.remove("关羽")
print(b)
\ 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