Introduction
We use range() to repeat actions a certain number of times easily. It helps us count from one number to another without writing many lines.
When you want to print numbers from 0 to 9.
When you need to repeat a task 5 times, like asking a question.
When you want to loop through a list by index.
When you want to create a sequence of numbers for a game score.
When you want to run a timer that counts seconds.