Skip to main content
 首页 » 编程设计

python之从 Python 中的第二个元素开始迭代

2025年05月04日10think

<分区>

我在 python 中有下一部分代码:

for (script, location) in self.device.scripts: 

我如何开始从给定列表的第二对中获取元素? 如果可能的话,我应该在哪里检查第二个元素是否存在?