Commit 3407ce4d by BellCodeEditor

auto save

parent 59f687ca
Showing with 15 additions and 0 deletions
#变量
#列表 增删改查
#增加 append() insert() +
# 删 remove(具体值) pop(索引) 切片 del clear()
b=[1,2,3,34,12,21,'qwe','31',42,34]
# c=b.copy()
c=b
c[2]='9'
print(b)
print(c)
string = "apple"
lst = string.split('')
print(lst)
\ 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