Jump statement in python (break and continue)

Jump statements in python are used to change or terminate the flow of a loop. Break statement:- Break statement is used to terminate a loop. Suppose in the loop , you are adding the iterables, you want to stop the loop when sum reaches a certain value. That can be achieved by, sum=0 for i…… Continue reading Jump statement in python (break and continue)

Design a site like this with WordPress.com
Get started