Commit f8c2f31d by BellCodeEditor

save project

parent cbd8dbaa
Showing with 9 additions and 0 deletions
fruits=['葡萄','香蕉','西瓜','桃子','梨','苹果']
print(fruits)
fruits.insert(3,'榴莲')
print(fruits)
fruits.append('橘子')
print(fruits)
fruits.inser(7,'香蕉','柠檬','荔枝')
print(fruits)
\ 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