728x90
>>> if a>1:
... print("aㄴㅡㄴ 1보다 큽니다.")
File "<stdin>", line 2
print("aㄴㅡㄴ 1보다 큽니다.")
^
IndentationError: expected an indented block after 'if' statement on line 1
블록이 예상되지만 들여쓰기가 되어있지 않아서
>>> print("aㄴㅡㄴ 1보다 큽니다.")
File "<stdin>", line 1
print("aㄴㅡㄴ 1보다 큽니다.")
IndentationError: unexpected indent
print앞에 공백이 있어서
728x90
'IT > Python' 카테고리의 다른 글
웹페이지만들기(feat.django) (0) | 2024.06.17 |
---|