Created
July 24, 2020 19:59
-
-
Save yakkomajuri/76476319a2bca77c550d411ac889be46 to your computer and use it in GitHub Desktop.
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
evens = [i for i in range(100) if i % 2 == 0] | |
squares = [i**2 for i in evens] | |
pairs = [(x,y) for x in range(100) for y in range(100)] | |
squarepairs = [(i, i**2) for i in range(100) if i % 2 == 0] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment