whether objects are being changed : Id : Buildin Function PYTHON TUTORIALS


PYTHON TUTORIALS » Buildin Function » Id »

 

whether objects are being changed


x = 'a string'
print id(x)
x = 'another string'
print id(x)
i = 0
print id(i)
i = i + 1
print id(i)



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON TUTORIALS

 Navioo Buildin Function
» Id