Commit fc6bba26 by BellCodeEditor

save project

parent 3b7d445d
Showing with 16 additions and 20 deletions
...@@ -7,15 +7,18 @@ ...@@ -7,15 +7,18 @@
# name.extend(a) # name.extend(a)
# print(name) # print(name)
# print(name[3:7]) # print(name[3:7])
a=["a","b","c"] # a=["a","b","c"]
a.pop(1) # a.pop(1)
print(a) # print(a)
a.remove("c") # a.remove("c")
print(a) # print(a)
a.insert(1,"b") # a.insert(1,"b")
print(a) # print(a)
a.append("c") # a.append("c")
print(a) # print(a)
b=["x","y","z"] # b=["x","y","z"]
a.extend(b) # a.extend(b)
print(a) # print(a)
\ No newline at end of file message="诺依,周末一起去看动漫展"
for i in message:
print(i)
\ No newline at end of file
a=["a","b","c"]
for i in range(len(a)):
print(a[i])
for i in a:
print(i)
\ 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