human
Give me a the Python code you requested given the following:
I am working on the file "Python/Scope.ipynb".
The first task is:
闭包作用域和赋值语句的冲突并没有被解决。
所以，在python3中引进了一个新的关键字nonlocal，这个关键字告诉解释器，不要在这一层函数的局部作用域中去找这个名字，我要在外面一层函数的作用域中去找这个名字。
Can you write Python code for it?
assistant
#Here is the Python code you requested.

def out3():
    i, j = 1, 2
    def inner():
        nonlocal i, j
        i, j = 3, 4
    inner()
    print(i, j)
out3()