logo-MindMajix
PostPythonPython
i
irfan mohammad

Posted on 24th July 2024|17 views

0
votes

What Are The Loops In Python?

I want to know what are the loops are there in python

1 answers
Answers
P
chris bons

Posted on 24th July 2024| views

There are three different loops in Python they are

  1. For loop:

This loop executes a series of lines and also abbreviates the code which handles the loop variable. 

  1. While loop:

This loop tests the condition ere executing that loop, if the condition is true, then it repeats that group of statements. 

  1. Nested loops:

A loop inside other loop is called nested loop.  

 

Write your answer

STILL GOT QUERIES?

Get a Live FREE Demo

  • Explore the trending and niche courses and learning maps
  • Learn about tuition fee, payment plans, and scholarships
  • Get access to webinars and self-paced learning videos
Name
Course *
Email *
Phone Number