human
Solve the following python programming problem given the following code:
# Example 1
x = 10

def tell_me_the_value():
    x = "Ciao"
    def something_else(x):
        print(x)
    something_else(x)

tell_me_the_value()
x

# Example 2
x = 10

def tell_me_the_value():
    def something_else(x):
        x = 11
    something_else(x)

tell_me_the_value()
x
Given the above code, generate some markdown instructions for it.
assistant
#Here is the Python code you requested.

This is how Python will look for variables:

Local is what we have seen with our tell_me_the_value function.
Python will first look inside the function and then outside.