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

assert statement
assert statement

conditional statement
conditional statement

statement
statement

declarative statement

1 answer

The correct response is:

assert statement

The assert statement in Python is used to set conditions that must be true at a certain point in the code. If the condition evaluates to false, an AssertionError is raised, which helps in detecting problems early during development.