📜  itertools - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:40.630000             🧑  作者: Mango

代码示例6
for start, end in zip(start_points, end_points):
    if start[0] == -end[0] and start[1] == -end[1]:
        print(f"Point {start[0]},{start[1]} was negated.")