Ends in 0d:00h:00m:00s

Buy 1 year, 🎁 Gift 1 year — completely FREE

Split the cost with a friend. You both get 12 months for $99.

Start FREE trial
Background Image

Buy 1 year, Gift 1 year — completely FREE

Start FREE trial
emmanuel aacha
last year
Emmanuelcountry asked

Types of loops

Abhilekh Gautam
Expert
last year

Generally, there are two types of loops in Python:

  1. for Loop
  2. while Loop

If you want to learn more about loops, I suggest you check out the Decision Making & Loops chapter.

Also note that, to offer you best help, we focus on answering questions specific to the page or course. So if you have such questions, feel free to ask. I'm happy to help.

Python
This question was asked as part of the Learn Python Basics course.