Python Baby Steps 108

Mihir Dhakan
1 min readJun 7, 2021

oops ! Loops ! The most important and widely used feature of any programming language. In simple words, loops are repetitive task humans ask programming languages such as python to do. As simple as that.

Figure 1: Python Loops

In this step (very crucial), we will practice what are the available types of loop in python (for, while). Each has its own distinct usage. Also, check the range() function which is used during our hands-on. Think of loops as pointers which iterates one-by-one from each element and applies what has been asked by programmer.

Loops are very important concept. I know it’s a repeated statement in this article — It’s intentional, I want you to take extra effort to learn and practice it. Do not skip this if you feel uncomfortable, as you need to come out of Comfort Zone to achieve something extraordinary.

So, Let’s start.

Gist for Loops

Thank you !

--

--