Feb-28-2024, 09:32 PM
(This post was last modified: Feb-28-2024, 09:33 PM by Gribouillis.)
Oficially, only the
# ...
comments exist in Python, but you can't prevent people from overusing the syntax by cluttering the code with strings. This could be done in many strange ways, for example(( '''Here is a new strange comment included in parenthesis'''), """It really does nothing useful, so it's probably a comment, but it is impossible to guess""" )Also note that there are other paired delimiters in Python, namely
{ }
and [ ]
« We can solve any problem by introducing an extra level of indirection »