Python

expected an indented block

プログラム内にインデントが含まれていないために表示されるエラーです。

エラーが出るパターン

for str in "hello":	
print str

エラーが出ないパターン

for str in "hello":	
  print str

トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS