Created
June 28, 2025 21:17
-
-
Save freedomtowin/3d519cf1afa9d32cfec143318b7d68ad to your computer and use it in GitHub Desktop.
Example of creating a Gist using Python
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
xs = [-1, 2, 2, 3, 4] | |
out = [x * 2 for x in xs if x > 0] | |
# out = [-1, 4, 4, 6, 8] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment