Report Bug

QusWhat does assert do? Qusassert क्या करता है?


A. Terminates loop
B. Skips iteration
C. Prints message
D. Raises error if condition is False


Solution
D. Raises error if condition is False



Explanation
assert condition raises an AssertionError when the condition evaluates to False.

यदि assert की condition False होती है तो AssertionError raise होता है।
Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2026 Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Best Website and Software Company in Allahabad