Python exec function example

Python exec() function: The Python exec() function is a built-in function that supports the dynamic execution of Python code. However,