您好,我想知道如何在 python 中执行以下操作
假设我们有这些列表
["Apples","Pears","Oranges","Grapes"]
["Apples","Pears","Oranges","Grapes","Strawberries"]
["Apples","Pears","Oranges","Pumpkins","Cherries","Lemons"]
我想提取以提取第 4 个元素及以后的元素。所以...
["Grapes"]
["Grapes","Strawberries"]
["Pumpkins","Cherries","Lemons"]
这些列表都将包含 3 个以上的元素。
我该怎么做?
ABOUTYOU
相关分类