Correctly Access Local Variable

Adjust the code below so that it correctly prints the value of the local variable num.
Python
Setting up Python environment...
Output