return example

This commit is contained in:
Mert Gör 🇹🇷 2023-06-07 09:04:31 +03:00
parent 59bd5291a7
commit 17f523c730
No known key found for this signature in database
GPG Key ID: 2100A876D55B39B9

View File

@ -0,0 +1,10 @@
def foo(a):
x = a
def bar():
print(x)
return bar
f = foo(10)
f()
foo(20)
f()