SECTION 47 / 48

Testing is_prime(): Important Cases

1 min read

The important cases are is_prime(5) → True, is_prime(4) → False, is_prime(2) → True, is_prime(1) → False and is_prime(0) → False.

Testing is_prime(): Important Cases
Testing is_prime(): Important Cases
Open image ↗
Testing is_prime(): Important Cases
YOUR STUDY PROGRESS

Finished this section? Save your progress.

Back to top ↑