I want find the index of the repeating variable.
Example:
mylist = [2, 4, 6, 8, 2, 10, 2, 12, 14]
If I write mylist.index("2"), it would say 0