Navbar menu

Loop control statements - Break, Continue, Pass in Python

Break, Continue, Pass in Python:
  • As we know, in Python we have two types of the loop 'for' and 'while' which allows us to iterate over a list, tuple, string, dictionary, and set. 
  • But there are some cases where we want our loop to exit completely or skip a part of the loop or ignores some particular condition.