We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Input: number Output: array
Examples: Input: 7 Output: 1, 2, 3, 5, 7
The text was updated successfully, but these errors were encountered:
Lesson 2: return array of all prime numbers from 0 to x
Sorry, something went wrong.
isn't the output should only be "2, 3, 5, 7"? (since 1 is not considered prime number)
No branches or pull requests
Input: number
Output: array
Examples:
Input: 7
Output: 1, 2, 3, 5, 7
The text was updated successfully, but these errors were encountered: