0

MultiLine Comment

Infact python has it like C. It is ''' multiLine commented text '''

16th Aug 2017, 2:46 PM
Emel Temuru
1 Answer
+ 1
""" or triple double quotes aren't the same as #Comments, not in Python at least. They're doc-strings, and typically only supposed to be used when explaining a function, module, class, etc. They're special because they can be called using the __doc__ special method when needing to know the purpose or details of such things. If you need to add multiple lines of comments, simply use the # symbol again on the next line.
16th Aug 2017, 6:08 PM
Sapphire