Create a Global Variable Inside a Function
Adjust the
create_var function to create a global variable called my_var and assign a value to it.Premium
Python
Setting up Python environment... Output