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 will give no error.

Python Funda

3 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