Evaluating statements with exec

suggest change
>>> code = """for i in range(5):\n    print('Hello world!')"""
>>> exec(code)
Hello world!
Hello world!
Hello world!
Hello world!
Hello world!

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:


Dynamic code execution with exec and eval:
*Evaluating statements with exec

Table Of Contents
31Set
78Dynamic code execution with exec and eval
166Gzip