Quick actions

cmd+k|ctrl+k

Navigation

Languages

global

Snippet info

Language

Python

Visibility

public

Author

fai

Created

2024-10-05T07:09:59.087806Z

Updated

2024-10-05T07:09:59.087806Z

def a(y):
    global x
    x = 1
    y += 1
    print(x)
def b():
    x = 10
    def c():
        a(1)
    c()
b()
x+=1
print(x)

INFO