referans sayacı örneği
This commit is contained in:
parent
f400a3195c
commit
27ec2999c4
11
python-temel/referans.sayaci.py
Normal file
11
python-temel/referans.sayaci.py
Normal file
|
@ -0,0 +1,11 @@
|
|||
def foo(x):
|
||||
print(x) # RS: 4
|
||||
|
||||
a = 10 # RS: 1
|
||||
b = a # RS: 2
|
||||
c = b # RS: 3
|
||||
foo(c) # RS: 3
|
||||
|
||||
c = 'ali' # RS: 2
|
||||
b = 'veli' # RS: 1
|
||||
a = 'selami' # RS: 0
|
Loading…
Reference in New Issue
Block a user