运行 ❯
获取你的
自己的 Python
服务器
×
更改方向
更改主题,深色/浅色
转到 Spaces
thislist = ["apple", "banana", "cherry", "orange", "kiwi", "melon", "mango"] print(thislist[2:5]) #This will return the items from position 2 to 5. #Remember that the first item is position 0, #and note that the item in position 5 is NOT included
['樱桃', '橘子', '猕猴桃']