id function in python 3 code example Example: id() python #The id() function returns identity (unique integer) of an object.