dekoratör örneği 5

This commit is contained in:
Mert Gör 🇹🇷 2023-08-04 18:00:22 +03:00
parent f0a328a4e3
commit 28a8352a96
No known key found for this signature in database
GPG Key ID: 2100A876D55B39B9

View File

@ -0,0 +1,10 @@
def foo(f):
print('araya girilen kod')
return f
@foo
def bar():
print('bar')
bar()
bar()