Commit b3fe826c by BellCodeEditor

save project

parent 6b100218
Showing with 20 additions and 2 deletions
dros dros=["刘备","关羽","张飞"]
\ No newline at end of file dros[0]="关羽"
dros[1]="刘备"
print(dros)
\ No newline at end of file
a=['关羽','刘备','张飞']
a.remove('关羽')
# a.pop(0)
# a.pop(-1)
print(a)
s=['华雄']
s.insert(1,'关羽')
s.append('关羽')
print(s)
s=['华雄']
c=['颜良','文丑']
s.extend(c)
print(s)
\ 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