9.8k views
3 votes
Assert statements are a tool programmers employ to help them debug their code more efficiently.

a. True
b. False

1 Answer

6 votes

Answer: True

Step-by-step explanation:

The statement that assert statements are a tool programmers employ in order to help them debug their code more efficiently is true.

They help in debugging as they evaluate whether a statement is either true or false. When it's false, the assert statement will indicate an error which shows that there is a bug that need to be fixed.

User Nick Malcolm
by
6.7k points