Created
June 18, 2014 07:07
-
-
Save shoya140/e288757758020893c639 to your computer and use it in GitHub Desktop.
1行で素数
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 [p for p in range(2,100) if 0 not in [p % b for b in range(2,p)]] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
atomのgist-itから投稿テスト