Skip to content

How to write comment in Python code

Saurav Pandit edited this page Feb 11, 2018 · 1 revision

In Python we use # for single line comment. _ # for single line comment_ For multi line comment we use following syntax. It is also known as doc-string comments. ''' Larger multi-line comment. Comment line 2 '''

Clone this wiki locally