Python Object awareness of being in an array?
Is there a way in Python for an object to 'know' what its array element id is? I.e 6 <objects> in an array, and the object itself prints out its own array element number, so '0,1,2,3,4,5'
Python Object awareness of being in an array?
===

Is there a way in Python for an object to 'know' what its array element id is? I.e 6 <objects> in an array, and the object itself prints out its own array element number, so '0,1,2,3,4,5'