def function():
    #variable = 0
    def partA():
        # this doesn't work
        # variable += 1
        print("Hello")
    def partB():
        print("Hello 2")

    partA()
    partB()
    print(variable)


function()

# doesn't exist in this scope
partA()

197f6747005c309d08cef1cdf7b47a4fd5c3ad52
<mask token>

def function():

    def partA():
        print('Hello')

    def partB():
        print('Hello 2')
    partA()
    partB()
    print(variable)


<mask token>

def function():

    def partA():
        print('Hello')

    def partB():
        print('Hello 2')
    partA()
    partB()
    print(variable)


function()
partA()

def function():
    #variable = 0
    def partA():
        # this doesn't work
        # variable += 1
        print("Hello")
    def partB():
        print("Hello 2")

    partA()
    partB()
    print(variable)


function()

# doesn't exist in this scope
partA()
