Python Func Id
# Python2.x Python id() Function
[ Python Built-in Functions](#)
* * *
## Description
The **id()** function returns a unique identifier for an object, which is an integer.
In CPython, the **id()** function is used to obtain the memory address of an object.
## Syntax
id syntax:
id()
Parameter explanation:
* object -- The object.
## Return Value
Returns the memory address of the object.
## Example
The following example demonstrates the usage of id:
>>>a = 'tutorial'>>>id(a)4531887632>>>b = 1>>>id(b)140588731085608
[ Python Built-in Functions](#)
YouTip