scope 7
This commit is contained in:
parent
0c68fb6443
commit
f65f0d28c1
8
python-temel/scope.7.py
Normal file
8
python-temel/scope.7.py
Normal file
|
@ -0,0 +1,8 @@
|
|||
def foo():
|
||||
i = 0
|
||||
while i < 10:
|
||||
x = 10
|
||||
i += 1
|
||||
print(x) # geçerli
|
||||
|
||||
foo()
|
Loading…
Reference in New Issue
Block a user