Created
October 5, 2012 00:23
-
-
Save masayang/3837309 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
sum = 0 | |
for i in range(1, 11): | |
sum = sum + i | |
print sum |
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
sum = 0 | |
for i in range(1, 11): | |
sum = sum + i | |
print sum |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
シェルから以下を実行して違いを見る
$ python indent.py
$ python noindent.py