+ 1
What is the difference between the general purpose multi line comment that python doesn't have and the multi line comment with the 3 quotation marks?
1 Réponse
+ 3
Python may not have a general purpose multi-line comments, but in dire need, one could use three single quote marks before and after your multi-line comment (so long as it's not a docstring).
''' This is an example of a multi line comment using the three single quote marks that being said, the PYTHON style guide PEP8 recommends using single lines with the # hash mark '''