How can I create a multi-line comment in python? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How can I create a multi-line comment in python?

12th Feb 2017, 9:48 AM
Sidney Guillermo
Sidney Guillermo - avatar
3 Answers
+ 6
use three double quotes like that: """ that's a comment a multi line comment to be exact """
12th Feb 2017, 9:50 AM
Mario L.
Mario L. - avatar
+ 2
@Sunzuina you need to ask that as a new thread. see the down votes you are getting.
13th Feb 2017, 1:32 AM
AJESH KUMAR
AJESH KUMAR - avatar
+ 2
read topic under docstrings. multiple line comments are provided as docstrings using double quotes 3 times in beginning and end of the docstring
13th Feb 2017, 1:38 AM
AJESH KUMAR
AJESH KUMAR - avatar