Python looping control statements (2)
Python looping control statements (2)
1. break
2. continue
3. pass
break
Def:
Example:
Def:
continue is used to skip the current iteration of a loop and move on to the
next one.
This statement is useful when you want to skip over certain values in a loop
without terminating it altogether.
Example:
Example: