How to change index of for loop in Python? - Stack Overflow

How to change index of for loop in Python? - Stack Overflow

瀏覽:391
日期:2025-12-07
For your particular example, this will work: for i in range(1, 10): if i in (5, 6): continue. However, you would probably be better off with a while loop:...看更多