Answers for "multi line cooment in python"

11

python comment multiple lines

#There is no way to comment multiple lines in Python.
#You just keep using "#" symbol to comment each line out.

'''
Technically you could also use triple single quotation
marks like so, but this formatting does not count
as "true" source code comments that are removed by
a Python parser.
'''
Posted by: Guest on November-17-2019
8

multiline comment python

# Python doesn't support multi-line comment blocks out of the box.
# The recommended way to comment out multiple lines of code in Python is
# to use consecutive single-line comments.
# feelsbadman
Posted by: Guest on December-17-2020
4

python multi comment

"""Put comments inside triple quotes"""
Posted by: Guest on May-13-2020
0

multi line cooment in python

#single line comment 

"""
    multi
        line
           comment
"""
Posted by: Guest on January-13-2021

Python Answers by Framework

Browse Popular Code Answers by Language