Skip to content

Instantly share code, notes, and snippets.

@masayang
Created October 5, 2012 00:23
Show Gist options
  • Save masayang/3837309 to your computer and use it in GitHub Desktop.
Save masayang/3837309 to your computer and use it in GitHub Desktop.
インデント重要
sum = 0
for i in range(1, 11):
sum = sum + i
print sum
sum = 0
for i in range(1, 11):
sum = sum + i
print sum
@masayang
Copy link
Author

masayang commented Oct 5, 2012

シェルから以下を実行して違いを見る

$ python indent.py
$ python noindent.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment