''' This exercise will help you understand the difference between local and global variables in Python. You will see how variable scope affects the behavior of your code. You will be given a block of code, paying attention to how variables are used and modified. Run the code and observe the output. ''' counter = 10 def increment_counter(): counter = 5 # Local variable counter += 1 print("Inside function, counter:", counter) increment_counter() print("Outside function, counter:", counter) ''' Now modify the function `increment_counter` so that it uses the global variable counter instead of creating a local variable. ''' # Your altered code here