Class - 12 CBSE Computer Science — Assertion Reason Type Questions

Assertion. The break statement can be used with all selection and iteration statements.

Reason. Using break with an if statement is of no use unless the if statement is part of a looping construct.

Python Funda

2 Likes

Answer

(e)

Both Assertion and Reason are false.

Explanation
In python, the break statement can be used with iteration statements only. Using break with conditional statements will result in syntax error — SyntaxError: 'break' outside loop

Answered By

2 Likes