0
how to write multi line comments using #
3 Answers
+ 2
For each line you will have to use #.
Example,
#this
#is a
#multi-line comment.
I would suggest you to use string literals which would behave like a comment.
you will have to use three double quote or single quotes to make it multi-line comment.
Example,
"""this is
a
multi-line comment
using string literal."""
0
thanks Nagendra Prajwal
0
like this
#may
#the
#python
#be
#with
#you