Which of the following is a statement in Python that helps detect problems early on, acts as an internal self-check by declaring conditions and is a debugging aid?(1 point)

Responses

conditional statement
conditional statement

declarative statement
declarative statement

assert statement
assert statement

statement

1 answer

The correct answer is:

assert statement

The assert statement helps detect problems early on by declaring conditions that must be true. If the condition is false, it raises an AssertionError, which acts as a debugging aid.