So führen Sie String wie normaler Code in Python aus
prog = 'print("The sum of 5 and 10 is", (5+10))'
exec(prog)
Micah M
prog = 'print("The sum of 5 and 10 is", (5+10))'
exec(prog)