Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def fun1():
- x = 1
- def fun2():
- print x
- return fun2
- f = fun1()
- f()
- # Output: 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement