I am new using python. I want to make the index back to 0 again, so it will check again if there are the same number , then the temp increase 1, and the same number pop out from