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

def tell_me_the_value():
    global x
    x = "Ciao"
    def something_else(x):
        print(x)
    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.

In the example 1 python is accessing the enclosed scope, wheras in the example 2 it follow this rule:
    1. look inside the local scope -> empty
    2. look inside the enclosed scope (body of tell_me_the_value) -> empty
    3. look inside the global scope -> found (x=10)