This website requires JavaScript.
Explore
WoodpeckerCI
Help
Sign In
hwpplayer1
/
python-CSD-kursu
Watch
1
Star
0
Fork
You've already forked python-CSD-kursu
0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
csd
python-CSD-kursu
/
python-temel
/
nonlocal.variable.py~
12 lines
142 B
Python
Raw
Permalink
Blame
History
x
=
10
def
foo
(
)
:
def
bar
(
)
:
nonlocal
x
#error!
print
(
x
)
x
=
20
print
(
x
)
bar
(
)
foo
(
)
Reference in New Issue
View Git Blame
Copy Permalink