pythonをインストして試したこと&出力結果↓
kahonyuun:Sites kahonyuun$ python
Python 2.7.1 (r271:86832, Jun 25 2011, 05:09:01)
[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> print "Hello World"
Hello World
>>> #こめんと
...
◆第一難関:ループされない、だと・・・(ガタッ
>>> for i in range(0,10):#ループ
... print i, #カンマで開業が取り除かれる
File "", line 2
print i, #カンマで開業が取り除かれる
^
IndentationError: expected an indented block
>>>
◇これはどうやらprintの前に:(コロン)がないから起こったエラーらしい。参考
パーサ(これね⇒^)がエラーの位置を示してくれるなんて、なんて愛おしいやつめ・・・
直したらちゃんとループ処理してくれた。↓
>>> for i in range(0,10):
... print i,
...
0 1 2 3 4 5 6 7 8 9
>>>