Quick actions

cmd+k|ctrl+k

Navigation

Languages

Closure

Snippet info

Language

Python

Visibility

public

Author

chausage

Created

2025-01-17T01:54:40.398393Z

Updated

2025-01-17T01:54:40.398393Z

def out_func():
    x=1
    z=3
    def inner_func():
        print("This is outer value :", x+z)
    return inner_func
a = out_func()
a()
INFO