In Python id('some text')
returns the “identity” of an object.
Is there a function that takes a number as argument that can access an item by identity?
e.g.:
print(object_at(id('some text')+1))
In Python id('some text')
returns the “identity” of an object.
Is there a function that takes a number as argument that can access an item by identity?
e.g.:
print(object_at(id('some text')+1))