Quiz

Here is a quiz to test your understanding of the concepts covered in this chapter.

1

Which of the following is the correct way to use an assert statement?

A)

assert(logical_expression);

B)

assert(logical_expression, message);

C)

Both A and B

D)

None of these

Question 1 of 40 attempted

Get hands-on with 1200+ tech skills courses.