scope 3
This commit is contained in:
parent
1d5f988efc
commit
f39574da28
1 changed files with 10 additions and 0 deletions
10
python-temel/scope.3.py
Normal file
10
python-temel/scope.3.py
Normal file
|
@ -0,0 +1,10 @@
|
|||
def foo():
|
||||
x = 10
|
||||
print(x)
|
||||
|
||||
def bar():
|
||||
x = 20
|
||||
print(x)
|
||||
|
||||
foo()
|
||||
bar()
|
Loading…
Reference in a new issue