Last active
August 20, 2020 19:33
-
-
Save AdrianDeAnda/693afa426b00e5d94459ec11d5e9c3a5 to your computer and use it in GitHub Desktop.
One liner to get a random odd number. Change randrange to (0,98,2) to make it a random even number.
This file contains 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
__import__("random").randrange(1,99,2) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment