CBSE BOARD XII, asked by siddhantpathak165, 10 months ago

proper but short definition of jump statement in python?​

Answers

Answered by javedturner
2

Answer:

Jump statements cause an unconditional jump to another statement elsewhere in the code. They are used primarily to interrupt switch statements and loops.

The jump statements are the goto statement, the continue statement, the break statement, and the return statement, which are discussed in the following sections.

7.7.1 The goto Statement

The goto statement unconditionally transfers program control to a labeled statement, where the label identifier is in the scope of the function containing the goto statement. The labeled statement is the next statement executed. The goto statement has the following syntax:

goto identifier;

Care must be taken when branching into a block by using the goto statement, because storage is allocated for automatic variables declared within a block when the block is activated. When a goto statement branches into a block, automatic variables declared in the block are not initialized.

pls mark me as brainlist

Answered by Anonymous
15

\red{Answer :-}

Jump statements cause an unconditional jump to another statement elsewhere in the code. They are used primarily to interrupt switch statements and loops. The jump statements are the goto statement, the continue statement, the break statement, and the return statement, which are discussed in the following sections.

Similar questions