Why would we want to print index + 1?



Why would we want to print index + 1?


Often at times when you write code, it makes sense to you as a coder. However, things like counting from 0 are not common elsewhere! Someone reading your menu of options might be put off by 0 being an option, and the remaining options seeming to be less than their position by one.
To account for this, adjusting your output values that are visible to the user is a common practice. It keeps your internal code readable by you and other coders, and the output pleasant for everyone else to look at!

FAQ: Learn Python- Loops - Counting as you go