What are jump statements in Python?

Types of jump statements in Python:

  • continue
  • break
  • pass
  1. Continue Statement: When the program encounters the continue statement, it will skip all the statements present after the continue statement inside the loop, and proceed with the next iterations.
  1. Break Statement: The break statement is used to terminate the loop containing it. The control of the program will come out of this loop.
  1. Pass statement: Pass statement in Python is a null operation that is used when the statement is required syntactically.
def square_lst():
    pass