how to exit exec() like in a function in Python
how to exit exec() like in a function in Python Question: I’m currently trying to make an self-modifying algorithm in Python. To do that, i have a string containing an algorithm that i run using the exec(algorithm) function inside another funciton. the algorithm that i want to run looks like this : if (a): do_something() …