Commit 94d74e9a by BellCodeEditor

save project

parent 0a66053e
Showing with 7 additions and 0 deletions
bro1=["苹果","香蕉","梨"] bro1=["苹果","香蕉","梨"]
print(bro1[1]) print(bro1[1])
bro1[2]="陈子" bro1[2]="陈子"
bro1.pop(-3)
print(bro1)
bro1.append('火龙果')
bro2=['新元','欧元','美元','法郎','英镑']
bro1.extend(bro1)
print(bro1[2:5])
\ 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