> For the complete documentation index, see [llms.txt](https://sdc-james.gitbook.io/onebook/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sdc-james.gitbook.io/onebook/3./3.3./3.3.7..md).

# 4.3.7.     주석

파이썬 주석은 블록단위와 한 줄(행) 단위로 주석을 만들 수 있습니다.

행단위 주석은 해시 기호 (#)를 사용합니다.  # 다음에 오는 모든 문자들은 그 행의 끝까지 주석이며 파이썬 인터프리터는 주석을 무시합니다.

```
# First comment
print "Hello, Python!" # second comment
```

프로그램 명령문이나 표현식 뒤에 같은 행에도 주석을 입력할 수 있습니다.

```
name = "Madisetti" # This is again comment
```

블록 단위 주석은 삼중 따옴표(''')를 사용합니다. 다음 삼중 따옴표로 묶인 문자열은 파이썬 인터프리터에서 무시되며 여러 줄의 주석으로 사용할 수 있습니다.

```
'''
This is a multiline
comment.
'''
```
