Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Python by (50.2k points)

Could someone tell me why we use while loop in Python?

1 Answer

0 votes
by (108k points)

The while loop is used in Python when we don’t know how many times, we have to re-iterate or execute before executing the statements or group of statements.

Want to learn Python from professionals and get certified? Then check out the Python course from Intellipaat which helps you in gaining the required hands-on experience by going through 42hrs of online instructor-led training with 50hrs for projects and exercises.

Also, do take a look at our YouTube video on Python Tutorial from our experts to get started.

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
asked Nov 18, 2020 in Python by ashely (50.2k points)
0 votes
1 answer
asked Sep 23, 2019 in Python by Sammy (47.6k points)

Browse Categories

...