Could anyone please suggest on how to fetch original data position of any element from an array even if the array gets randomized/shuffled.
e.g. my original array is: arr=[a,b,c,d,e]
and, arr[2] will return: [c]
and, after random.shuffle( arr) the output is=[c,a,e,d,b]
and, arr[2] will return: [e]
But, I still wanted to see the same result as from original array i.e. I should still get arr[2]=[c] even if...
User Profile
Collapse
No activity results to display
Show More