运行 ❯
拥有你自己的 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
['樱桃', '橙子', '猕猴桃']