What is the use of doing it? When you know how for loops work. I there real implication of it
These problems are like a workout, to train your logical thinking. So no direct real-life use, but a big indirect one. 😉
Patterns are use to understand working of loops, It will make your concept clear on loops.