How in Python to check the condition and go to a specific array of code in the program if the specified condition is met / not observed.
Maybe there is any module that allows you to put a marker in the code to which the interpreter needs to go, if the condition is met / not met.
I ask you to avoid mana and simple "hints", a la shove it all in if ...
goto
forpython
? There is a library at github.com/snoack/python-goto , but this is a perversion. - Avernial