執行 ❯
擁有你自己的 Python 伺服器
×
更改方向
更改主題,深色/淺色
前往 Spaces
thislist = ["apple", "banana", "cherry", "orange", "kiwi", "melon", "mango"] print(thislist[2:]) #This will return the items from index 2 to the end. #Remember that index 0 is the first item, and index 2 is the third
['櫻桃', '橙子', '獼猴桃', '西瓜', '芒果']