Created
June 9, 2016 05:29
-
-
Save cstrouse/93060e36d82c5aadd61dad1612db46b7 to your computer and use it in GitHub Desktop.
Fast trick I just discovered for finding odd numbers
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # odds number 1 through 99 inclusive | |
| [x for x in range(1,100) if x &0x1 == True] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment