how to comment many lines in python

Solutions on MaxInterview for how to comment many lines in python by the best coders in the world

showing results for - "how to comment many lines in python"
Imelda
13 Mar 2016
1#There is no way to comment multiple lines in Python.
2#You just keep using "#" symbol to comment each line out.
3
4'''
5Technically you could also use triple single quotation
6marks like so, but this formatting does not count
7as "true" source code comments that are removed by
8a Python parser.
9'''
Valentina
06 Jan 2021
1#%% There are not multiline comments in python,
2# this # is the only form of commenting but, people use
3# """triple quotes""" for multiline commenting but this
4# is actually a String the interpreter will read and 
5# will ocupy memory. If you dont put this kind of string
6# into a variable it will be collected on execution
Maria
09 Feb 2020
1def increase_salary(sal,rating,percentage):
2    """ increase salary base on rating and percentage
3    rating 1 - 2 no increase
4    rating 3 - 4 increase 5%
5    rating 4 - 6 increase 10%
6 
7    """
8
Aldo
10 Aug 2020
1"""Put comments inside triple quotes"""
Leonie
14 Jun 2019
1'''
2This is a multiline
3comment.
4'''
Carl
14 Aug 2016
1 def windows():
2	print('Select the text, Press CTRL + K , C to comment')
3
4 def mac():
5	print('Multi-line comment select the lines to be commented. Ctrl + 4.')
6
queries leading to this page
python mulitline commentspython multiple row comment outhow to comment out multiple lines of code pythonhwo to single line comment multiple lines in pythonhow to do multiple line comment in pythonmulti line comment pymulti block comment pythonhow to give multiple line comment in pythonpython multiline commentss notationmulti lin comment pythondoes python have a multiline comment functionmultiline comment inpythoncomment out multiple lines python windowshow to comment multiple linespython multispace commenthow to make comment on python more than 1 linecomment block of line in pythonmulti row comment pythonpython multiline comment blockpython comment several lineslong comments in pythonall comment in pythonpython comment in multiline stringmultiline commment in pythonmultiline line comment in pythonpython comment all linespython bulk comment howhow to make multiple line comments in python using 23how to add paragrpah comments in pythonmultiline comment python 27python note multiple lineswhy are there no multiline comments in pythonpython commend out multiple lines of codehow to comment lines in pythonmultiline comments python codehow to have multiple lines of comment in pythonhow to make multi line comments in pythonhow to comment a section in pythonhow to comment set of lines in pythonhow to write a multiline comment in pythoncommenting multiple line in pythonhow multi line comments in pythonhow long to make comment lines in pythonhow to make multiple comments in pythonshortcut to comment multiple lines in pythonhow to write multi line comment in pythondoes python have a multi line comment function 3fpython how to comment out multiple lineslong comment on pythonhow to make a long comment in pythonmulti libe coommecnt pythonhow to turn multiple lines into comments in pythonpython comments multi lineshow to commennt multiple lines in python at oncehow to mass hide multuple lines in pythoncomment two lines at once in pythonhow to comment multiple lines pythonpython have a multi line comment function 3fpython more line commenthow to comment out a bunch of lines in pythoncomment multiple lines 23 pythonshortcut to comment out multiple lines in pythoncomment multiple lines in python shortutmultline comment in pythonmutli line comment pythonmultiline comment in pythincomment out mutlip lines pythonpython comment many linesshortcut to comment multiple lines with 23 in pythonpython mult line commentcommand to comment out multiple lines in pythonwhy doesn 27t python have multiline commentswhich character is used in python to make a multiople line comment 3fmulti comment line in pythonpy multi line commendcomment multple lines pythoncomment out several lines pythonhow to make multiple lines of code comments in pythonhow to write comment inside multiline code in pythonmultiline comments in pythonmultiline comment in pyhtoncomment out multi line pythonmultiple comments pythonmulti line list or comment in pyeasiest way to comment multiple lines in pythonin python multi line comment starts withcomment multiple line pythonhow to comment more lines in pythonmultiple line comments pythonmulti comment pythoncomment several lines pythonhow to comment multiple lines string in pythonmake more than one line of code s comment in pycomment a whole section in pythonpython comment multiple already written linesmultiple line comment in pytonhow to make comment multiple lines in pythonjs multiline commenthow to comment out lines of code in pythonpython comment multiline stringhow to comment out an entire section in pythonpython comment multiline instructionmult line python commentpython multiline comentpython multiline commetnsmulti line comment in python 27inspect function ignore multiline commenthow to comment multiple lines of code in pythoncommenting multiple lines in python3how to comment muiltiple lines in pythonwhich of the following is used to make multiline comment in python 3fmulti line py commentsinghow to print a multi line comment in python commandmultiline commenting in pythoncomment block of code pythonmultiple line comments in pythonhow to add multiple line comment in pythonpython comment multple linescomments multiple lines pythonhow to multi comment in pythonshortcut for commenting multiple lines in pythonuncomment triple double quotes in pythonhow to write multi line comments in pythonpython multi line commenpython multiple comment linemultiple comment lines in pythonmulti line comment in pythomndocument paragraph comment pythonlong comment pythonhow to do a multi line comment in pythonpython 3 block commentpython muiltline commentpython comment blockhow to comment out multiple lines of code in pythonblock multiple comment pythoncomment more than one line in pythonpython comment multi linehow to comment multiple selected lines in pythonpython multi line commentpycharm comment multiple linescomment in python3multiline comment in pythonhhow to hash out multiple lines in pythonmultiline comment in python useshow do you include multi line comments in python 3fmulti line comments in pythonmore line comment pythonmulti lline comment pythonpython multilinecommentpython multi line commentinghow to comment many line using pythonmuiltline comment in pythonmultiline coment in pythonpython comment out multiple linesgroup comment pythonmultiple lines comment pythonmulti line comment pyhtohnmultiline commentpython multi line commendsmultiple line comments in colab texboxpython commend multipul linespython using triple quotes as commentsmulti line commet in pythonhow to comment more than one line in pythonpython comment multilinecomment multi line pythonmulti loine comments pythonpython multilne commentmulti comments in pythoncomment all selected lines in pythonpython multiline comments single line and multiline comments in pythonmultiline commentrs on pyhtonhow to comments more than 2 lines in pythonmultiline comments pythonmultiple comments in pythonhow to write multi line comment s pythonbulk comment in pythonpython multiline comment syntaxhow to print multi lines comment in pythonhow to add single line comment in pythonhow comment multiple line in pythonmultiline comment in python 3 8how to do multiline comment in pythoncomments several lines pythonblock comments pythonmultiple comment pythonmulty line comments in pythonpython mul 3bti line commentpython do not comment the whole linehow to put multiple comment in pythonfew line commennt pyhow to make multiline comments in pythocoomment multiple lines inpython scriptpython triple quote commentmulitline comment pythonmultiline commentsmultiline comment in pythndouble sentence comment in pythonpython mutliline commentspython multiple lines commentshow to comment whole code in pythonhow to write multiple line comments in pythonmulti lines comment in pythonhow to comment out few lines in pythoncommenting multiple lines in pythonhow to comment in python multiple linescomment out mupltiple lines of code pythodto comment multiple lines in pythoncomment more than one line pythonmulti line comment in pythonpyton multi line commentsymbols for multiline strings and comments in python 3bpython comment multiple linehow to give multiline comment in pythonmultiple lines python vs in notehow to make multiple line code in commhow to make a multiline comment in pythonhow to make comments in python multilinemulti comment in pythonhow to comment many lines of python at oncehow to comment out multiple lines in python with 23comment in python multiple linehow to create multi line strings as comments in sublime text for pythonparagraph comments in pythonpython comments in quotespython multiline commentingcomment block in pythonpython multip line commenthow to multiline comment command in pythondifferent ways to do multi line comment in pythoncomments in python multiple lineshow do you comment in pythonhow to add multiple comments in pythonhow to comment lots of lines in pythoncommenting a section in pythonmulti line coment pythonmuliline comment pythonhow to comment out block in pythoncomments python multiple lines multi line ocmments pythonpy multiline commentcommenting in python for more than 1 linepython multiline comment parameterspython many lines to commentmulti line notes pythonhow to do a multiline comment in pythonpython multi line commentsmiultiline comment pythonhow to make multiline comment in pythoncomment multiple lines in pythonhow to write mulyiline comments in pythonhow to make lines of code comment in pythonpython long commentsmultiple comment in pythonmultiline comment in python shortcutpython comments multiple linespython muliline commentcomments multiple line in pythonmultiname comment pythoncomment various lines pythonhow to comment out multiple lines in pythoncomment multiline string pythoncomment multiple lines of code in pythonhow to make lines comments in pythonhow to make a multi row comment in pythonmulti line comment pythonhow to hash multiple lines in pythonmultiline comment in python 3comments in a multiline string pythonlong comment in pythonmultiple line comment pythonmulti line comment python 2how to make a hole parragraff a comment pythonmultiline comment in ptcommenting three lines in pythonpython how to comment several linesdoes python have multiline commentscomment multiple in pythonmaking multiline comment in pythonhow to comment more than one line in python oncemulti line python commentuse a multiline string to make the multi line commenthow to store more than one line in python as a commentpython pep8 multi line commentmulty comment pythonmulti line comments in pythonoptimal multiple line comment in pythonhow to write a multiple line comment in pythonhow to make multiple lines comment in pythonpython comment multiple lines linesgroup comment in pythonmultiline comment python 5chow to comment multiple line in python shellpython multiple line commentcommenting multiple lines of code in pythonhow to print a multiline comment in python commandmultiline comment pythomnmultiline comments in python 3multiple line comment out in pythonpython multilane commmentcomment multipleline in pythonpython do multiline commentshow to make whole line for comment in pythonhow to multiline comment pythonpython block comments exampleone line comment pythonmultiline comment in python with 2a 5ccommenting multiple lines in python in windowshow to comment multiple lines together in pythonhow to write multi line comments in pythonpython multi lined commentshow to make multiline comments in pythonpython multiline code commenthow to add multiline comments in pythoncommenting many lines in pythoninline and multiline comments pythongenerate the multiline comment in pythonpython multi line commentmulti line commentpythonpython comments multilinehow to make multiline commetmultiline comment pytonpython comments blockhow to add comment in multiple linecomment multiple lines of code pythonpython3 multi line coomenthow to make multiple line comment in sublime text with triple quotesmultiple line comment in python shortcuthow to multiline comment in pythonpython multiline comment 5d 5ccomment out python multiple linesmultiple commenting out in pythonhash multiple lines pythonmultiple comment line in pythonmultiline coments in pythonpython large commentscommenti multilinea pythonmulti lined comments pythonpython pragraph commenthow to wrap multiple rows of code in a comment in pythonmultiline comment on pytohnmutiline comment pythoncomment multiple lines pythonpython put lines in commenthow to havea multiple line comment in pythonmultiline comments pytoncomment many lines pythonhow to comment a paragraph in pythonmulti line comment pythoncomment syntax for multple line in pythonmultiple lines comment in pythonmultilne comments pythonmulti line comment pyythonmultiline comment in pythonpython multiline comment fomatrputting lots of lines under comment together pythonmulti line commenthow to comment on multiple lines in pythoncommenting out multiple lines in pythonhow to commen multiple lines together in pythonpyhton multiline commenthow to write a multi line comment in pythonpython multi level commentpython how to put multiple lines of commenthow to multilibne comment in pythoncomment multiline in pythoncomment multiple linews pythonpython multi line commentspython multyline commentpython have a multi line comment functioncommenting in python multiple lineshow to comment mutiple lines of code pythonhow to write multiple lines of comments in pythonhow to comment multiple line pythonhow to multipliune comment pythonpython comment single linecomment bunch of lines pythonpython 2 lines after commentsstyling multi line comments in pythoncommenting in python 3how do you multiple line comments in pythonadd block comment in pythonmultiline comment pythoncommenting multilines in oythonmore than one line comment in pythonpython multi commentshortcut to comment multiple line in python comment syntax for one line in pythonmultiple lines comments in pythonmulty line comment in pythonhow to add multi line comment in pythonmulti line comment in pythonhow to comment multi linehow to make multiple line comment in pythonhow to comment multiple lines of code pythonmultiline comment in pytonmultiline comment pythonnpython comment sectionhow to comment several lines in pythoncode fights comment multi linehow to comment multiple lines in python shortcutpython multi comment 27python how to comment multiple lineshow to comment out a lines in pycommnt multiple lines pythonmultiline comemnt python 2f 2a in pythonpython string ignore commenthow to make a multi line comment in pythonhow to comment in python 3multi comment pythonmultiline comment pytohnhow to comment multiline in pythonhow to comment out many lines in pythonhow to make multline comment pythonmultiple row comments in pythonmuti line comments in pythonnote out multiple lines pythonmulti lne comment in pythoncomment many lines in pythonpython multi linecoomentsmulti line commens pythoncomment out more than one line pythonhow to add 23 multiple line comment in pythonmultiline comment pypython how to do multi line commenthow to do a multi line comment in pythonhow can make block as comment in python with one click with 23how to make multi line comment in pythoncomment more lines pythonsyntax for single line comment in pythonmultiline comment pycthoncomment multiple lines in python at oncepython3 multiline commentsmulti line cooment in pythonpython multiple comment linesmultiline comment in python keyscomment out code chunks in pythonhow to comment many lines in pythonhow to make a multi comment in pythonhow to make multiple line comments in pythonsingle line comment in pythonhow to add multi lune comment pythonhow to declare multiple line comment in pythonhow to comment several lines in once in pythonwrite comment insode multi line expression pythioncomment multiple lines pythpnhow to multiline comment in python 3how to add multiline comment in pythoncommenting multiple lines in python 3mutiline commentsmultiline comment oyhonmutli comment lines in pyhonpython multiples lines comenthwo to multiline comment in pythonmultiline comments in pymake many lines comments pythonmultiline comment 23 in pythonhow to comment multi line in pythonmultiline cmments pythonpython can you multiline comment with single quotescomment python multiple linespython multi comment linehow to comment a multiple lines in pythona python paragraph 28multi line 29 comment uses the stylepython comment multiple lines shortcuthow to comment out multiple lines with 23 in ythonblock section pythonstandard way to make multi line comment in pythonmulti comments pythonsway to comment out multiple lines pythonpython multy line commentultiline comments in pythoncomment out pythonpython multiple lines commentcomment on multiple lines pythonpython multiline commentmulti line comments pythonpython mylti line commentpython commenyblock comment pythonhow to comment 1 line in pythonhow to use multiline comment in pythoncomment multiple lines in python shortcutuse a multiline string to make the multi line comment in pythoncomment blocks pythonpython comments triple quotesmultiple comment line python 3how to add comments to a long line pythoncommenting every line in pythoncomment out multiple lines pythoncomment python multilinehow do you comment out sections of code pythoncomment single line in pythonmany line comment in pythonpython get multiline commentpython block commentpython has specific syntax for including multiline commentshow to comment many lines in python using 2fpython commenting multiple lineshow to comment all lines in pythonpython idle multiline commentcommenting several lines on pythonmultiline comment python 3windows python comment multiple lineshow to comment multiple lines in pythonhow to comment whole block in pythoncomments in python multiplehow to coment multiple lines pythomultiline comments in python 3fpython multi line code commentingpython multi row commentcomment all lines in pythonmulti line commment in pythonhow to have long comment pythonmultiple line comment in pythonpython type comment multiplepython comment out whole sectioncommand to comment multiple lines in pythoncomment out multiple lines in pythonhow to mulit comment pythoncommenting more than one line in pythonhow to make multi line comments in pythoncomment multi c3 b1line pythonset mulitple lines in comment pythoncomment multiline pythoncommenting code python with quotespython multline commentcomment multiple lines in python 23python create multiline commentmulti line comments pythonmulti line commend pythonmulti level comments in pythoncomment python several linesuse a multiline string to make the multi line comment 3aghow to do multi comment in pythonpythin comment out multipel linesdo python have multiline commentpython multiline commentsmulti line comments in python 3long line comments pythonhow to write python multiple line commentpython mutliline commenthow to coment down multiple line in pythoncomment multiple lines python shortcutuncomment triple double quotes the code in pythoncomments in python multilinepython how to make multiline commentpython comment multi linescomment block of lines pythonpython multiline comment codemultiline python commendspython comment blocksmultiline comment pyhtonpython long commentpython multiple commenthow to do multi line comment in pythoncomment multiple line in pythonpython single line commentlong comments in python syntaxcomment several lines in pythonhow to multi line comment in pythonpython multi line commentswhow to comment multiple blocks in pythonmultiline python commentpython multiple line commentspython comment multiple linesmultiline commnet pythonhow to make a block comment in pythoncomment some lines python c3 a7python block commentsmultyline comment in pythonhow to comment many lines in python