Commit 291de8ee by BellCodeEditor

save project

parent c070941f
Showing with 7 additions and 1 deletions
bro = ["刘备", "关羽", "张飞"]
for i in bro:#直接遍历列表,i是lielie
for i in bro:
print(i)
for i in range(len(bro)):
print(bro[i])
......
list=[1,2,3,4,5,6,7,8,9,9,10]
list.remove(5)
list.remove(6)
list.pop(0)
print(list)
\ 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