Skip to content
New issue

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

[Sieve]: Update content.md for Comprehension Approach #3865

Merged
merged 1 commit into from
Feb 14, 2025

Conversation

BethanyG
Copy link
Member

@BethanyG BethanyG commented Feb 14, 2025

Added language about the disallowed % operator to the Comprehensions approach.

See this forum discussion for details. I was unable to rewrite this without the modulus, but felt it was important to include as a counter example. Using % makes the code look cleaner, but doesn't actually confer any advantage over the first example in the file.

Added language about the disallowed `%` operator to the Comprehensions approach.
@BethanyG BethanyG merged commit 664f1db into main Feb 14, 2025
9 checks passed
@BethanyG BethanyG deleted the BethanyG-patch-2 branch February 14, 2025 19:56
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