Quick actions

cmd+k|ctrl+k

Navigation

Languages

closures

Snippet info

Language

Python

Visibility

public

Author

kkko

Created

2024-10-03T01:34:03.610229Z

Updated

2024-10-03T01:34:03.610229Z

def outer():
    x = 1
    def inner():
        print(x)
    return inner
y = outer()
y()
        
        
INFO