Help with model answer for time complexity
The loop body will be executed $n - 1$ times because your index variable is initially set to $2$ rather than $1$.
Hence, at the start of the loop body, the values for index are from the range $\{2, 3, ..., n\}$, which has $n - 1$ elements.