you might need a break statement
I'm not a python guy, nor a programmer, but I found those:
https://www.w3schools.com/python/python_for_loops.asp
https://www.programiz.com/python-program...k-continue
I'm not a python guy, nor a programmer, but I found those:
https://www.w3schools.com/python/python_for_loops.asp
https://www.programiz.com/python-program...k-continue
Patrice