Mega Code Archive
Categories
/
Python Tutorial
/
Buildin Function
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)