I have a series of values in an array that I need to go through and assign incremental numerical values, starting from 1. If the same value appears more than once in the array, I want to append the original assigned number with the letter A, and then B, accordingly. For example:
myArray=[12,15,6,9,11,14,25,6,13,17,6]
The desired output would be as follows >>
1
2
3
4
5
6
7
3A
8
9
3B