Created
October 20, 2015 14:27
-
-
Save kurozumi/d41a4bddf2c3c88466b4 to your computer and use it in GitHub Desktop.
【Python】リスト内包記法
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
print [x+2 for x in range(0,5) if x % 2 == 0] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment