►
Run
code = 'print(x+5)\nprint("hello world")' globals = {'x': 5} exec(code, globals)
Output