Commit f63861a4 by BellCodeEditor

save project

parent 5aa2f3dd
Showing with 15 additions and 0 deletions
a=['华雄']
a.insert(1,'颜良')
a.insert(2,'文丑')
print(a)
\ No newline at end of file
a=['华雄']
a.append('颜良')
a.append('文丑')
print(a)
\ No newline at end of file
a=['华雄']
b=['颜良','文丑']
a.extend(b)
print(a)
\ 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