Commit 7c4a375a by BellCodeEditor

auto save

parent 26b3b1d4
Showing with 19 additions and 0 deletions
list=['apple','pear','orange','apple]
ist.remove('apple')
list.pop(0)
print(list)
\ No newline at end of file
a=['华雄']
a.append('关羽')
print(a)
a=['1234566']
c=['1234566','123254']
a.extend(c)
a=['a']
c=['f']
a.insert(a,c)
print(a)
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