3 Réponses
+ 8
AFAIK, there's really no multi-line comment in Python. But you can use the """ """ (triple quotes).
edit: here's a good reference
https://www.codecademy.com/en/forum_questions/505ba3cfc6addb000200e33c
+ 4
thanks a lot #Jonathan #Pizarra
+ 1
There's no multi-line comment in python, but the equivalent is the docstrings, the """ """.
The docstrings can contain information, explanations, directions and teststrings.
They usually are found in the beginning of modules, classes and functions.