프로그래밍 언어/Python
python - expected an indented block
#_달
2019. 9. 20. 10:38
파이썬 에러 expected an indented block 는 들여쓰기 수준이 잘못 되어 있어서 나오는 에러다.
ex)
if a == b:
print('a equal b')
라고 작석하면 에러가 발생한다.
if a == b:
print('a equal b')
라고 고쳐 주어야 한다.