My program has the following scturcutre
- program takes screenshot 2, program looks for condition a. if condition a is not met, it need to go back to point 1
- program looks for condition b. if condition b is not met, it need to go back to point 1
- program looks for condition c. if condition c is not met, it need to go back to point 1 ... etc
There are around 20 additional conditions and whenever one of them is not met, the program should return to the starting point. With a goto statement this could be easily solved. However, in Python this is not an option. Any suggestions are appreciated how this can be implemented elegantly.