Skip to content

Conversation

casperes1996
Copy link
Contributor

As argued in Issue #333 , this should help make it clear 0 is not a prime. Other options can be discussed like using optionals, Result, etc. Or even just a comment saying 0 is invalid input and not handling it outside of that

Copy link
Member

@siriak siriak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree, thanks for contributing!

@siriak siriak merged commit 3b90c33 into TheAlgorithms:master May 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants