Skip to content

Conversation

@artemis-gen-ai
Copy link

The code has been updated to start the range at 2, instead of 0, in order to correctly calculate the sum of primes. This is because 0 and 1 are not prime numbers, so the loop now starts at 2. Additionally, some whitespace changes have been made for consistency.

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.

1 participant