Skip to content

Commit

Permalink
Fix typo in unit test post
Browse files Browse the repository at this point in the history
  • Loading branch information
aureliojargas authored Mar 28, 2018
1 parent 2fefebd commit 1994bff
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ the following should be preferred:
return True

In the latter, we recognize that the two `if` statements can be merged into a
single statement that returns `False` if the argument is less than 1. This is
single statement that returns `False` if the argument is less than 2. This is
both more succinct and properly aligned with the definition of a prime number (a
number *greater than one* wholly divisible only by one and itself).

Expand Down

0 comments on commit 1994bff

Please sign in to comment.