Commit 15c6120f by BellCodeEditor

save project

parent 927610df
Showing with 14 additions and 0 deletions
name=['z','w','t','y',1]
name[4]='a'
print(name)
name.append('q')
print(name)
name.insert(3,'i')
name.pop(1)
print(name)
name.remove('t')
print(name)
print(name[1:4])
print(name[-3::])
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