Normally I use index to find the index of an element in a list. I made this really basic program but it's not showing the output as I expected. This is my code:

```
store_1 = []
for i in range(8):
    mountain_height = int(input())
    store_1.append(mountain_height)
    print(store_1.index(store_1[-1]))

```

Result:

```
    0
   [0]
   Index: 0
   0
   [0, 0]
   Index: 0
   0
   [0, 0, 0]
   Index: 0
   0
   [0, 0, 0, 0]
   Index: 0
   6
   [0, 0, 0, 0, 6]
   Index: 4
   5
   [0, 0, 0, 0, 6, 5]
   Index: 5
   2
   [0, 0, 0, 0, 6, 5, 2]
   Index: 6
   4
   [0, 0, 0, 0, 6, 5, 2, 4]
   Index: 7

```

As you can see the element 1, element 2 and element 3 are giving the wrong index, it's indexes should be 1, 2, 3. I am trying to get the index of the very last element added in the list.

Why is this happening and how can i solve this problem?