how to put comments in python

Solutions on MaxInterview for how to put comments in python by the best coders in the world

showing results for - "how to put comments in python"
Ewan
13 Jun 2018
1# You use a hastag at the beginning of the line to make anything after it a comment
2'''
3You can also make a multi line comment
4With three single quotes at the beginning and end!
5'''
Noha
25 Jan 2018
1# This is a comment
2
3""" This is a comment"""
4
5"""
6This is a comment
7Also this is a comment
8"""
9
Stéphane
05 Oct 2017
1# this is a comment
2# Python ignores comments,
3something = 1  # and you can place them after any line of code
4
5"""If you don't want to write a comments using hashtags,
6you can put them in a multi-line comment block.
7However, if you put hashtags in strings, they do not
8create comments.
9"""
10# comments serve as notes to the programmers
11# you can write whatever you want in comments
Noemi
24 Jun 2020
1# Use Hashtag to add comments in python
Giulia
09 Feb 2019
1# To make a Python Comment just use # and type.
2""" 
3For Multi-Line Comments
4Use Three """
5"""
Martín
21 Sep 2017
1# Just put a hash before the comment. This can help other collaborators understand what you are doing, or help you remember the intention of a certain line of code. It should appear gray. Oh - and by the way, the Python computer ignores your comments.
queries leading to this page
comment lines pythonpython comment 22 22 22how to create note in pythonpython comment functionsadd comment to figure pythonblock comment pythonhow to auto comment in pythoncomment in considered in pythonpython funcion commentscommenting in pytho python program with commentspython comment a block of codepython comments reference to linepython doc commentspython writing commentscoment line in pythonmultiline comments in pythoncomments analysis pythoncomment python blockpython comment all codesingle comment in pythonhow to comment all code in pythonwhat are comments in pythondocument comment in pythonhow to comment something on pythoncomment section pythonpython how to insert commentbest way comment in pythonhow to comment a section in pythonline comment pythonwhich of the following are used as comments in pythoncomment out python codecomment for function in pythoncomment function pythonpython xcommentwhat is used to begin an end of line commentpython comment syntaxthow to mass comment in pythonwhat can put to comment all code in python 3fcomment python multilinepython rem statementpython long commentaryhow to write block comments in pythonhow to do comment in the pythonhow we comment in pythonhow to do long comments in pythoncomments in pythoinpython comment commandsection comment pythonpython use comments effectivelydescribe comment statements in pythoncomments for python codedisplay total number of comments pythonhow to write python commentscomments in python programmingcommenting code in pythonpython how to add commentscomments in python 2python commrntdsshow do you insert comments in python code 3f 2apython comment linesadd notes in phythonhow to put in a comment the text in pythonhow to document 2fcomment code in pythonhow to make a comment pythonhow to comment pythonpython online commentcommenty pythonhow to python commentpython comment codehow to line comment in pythondescribe variable in comment python how to auto comment on pythonmulti lines comment with 2f 2acommentary pythonwhat is the use of comments in pythoncomment block code pythonpython comment blockpython syntax for commentshow to put all things in comment in pythonhow to comment uin pythoncommenting on pythoncomment a text in pythinalways get 22 22 22 22 when trying to comment in pythoncommenti pythoncommenting python codehow to comment in python comment in python inside stringpython comments syntaxhow to do python commenting for methodpython string commentshow to comment code pythonppython commentprint comment in pythonpython commenting the functionwhich character is used in python to make a single line commenthow to comment out code in pythonhow did you comment a line of code in pythonwhat are comments and how can you add comments in python 3fpython paragraph commentshow to give comment python languagecomments for a python pagehow to highlight a function in phython commentsmulti line comment in pythonhow to make comments on pythonhow to make comments in pyhtoncomment python functionshow to write comments for function in pythonhow to comment in python filewho developed python language commentsimple code writing sryle in python with commentshow to comment python3comments in python modules statement and comments in pythonhow to comment the code in pythoncomments in pythondiffernet ways to comment in python 2f 2a comment in pythonpython commentspython commentsscomment pythonpython commentgpython remarkscomment pythoncomment inside a line pythoncommenting in pythonadd explanation in pythoncomment out code in pythonhow to write comments in pytthiobncomments in python charm comment pythonppython comments 23 comment in python meaningadding syntax comments for functions pythonpython comment sectionget python modules comments 23 comment pythonline comment in pythonhow to write comment in pythonhow to pass comment in pythonhow to comment out python line 23 25 25 comment pythonpython comments examplecomment command in pythonmake comments pythoncommenting in pythioncomments in python codepython comment 27 27 27 27 27 27 python description commentcomment whole section pythonhow to set a comment in pythonpython comment out sectionpython make comments in codehow to note in python codehow to give comments in python how do you include single line comments in pythonpython comment out block of codecomments in poythonpy commentscomment line in pythonblock comment python 23comment a block in pythonpython comment lineecomment python 2 7how to put a long code in coments pycomments int pythonpython comment codpython commentpython coment linhow to add block comment in pythonpython hash commentspython howto comment blockhow to write notes in pythongood python commentshow to comment in python with highlighthow to add comment python codecomments python howhow to write python script commenthow comment is created in pythonadd comments to python codecomment in function pythonhow to select a code and make it as a comment pythonhow to make a 2f 2a 2a 2f in python commentsbuild a commenting app in pythonwhich syntax is used for comment in pythonprogrammation python commentingpython comment syntaxpython comment bockpython comment documentationhow to show code in python commentbasic syntax comments in pythoncomment out 2b pythoncommenting out pythonmake everything a comment pythonhow to add comments in a python programhow to comment block python codehow to comment a code in python comment in python scriptsingle line and multiline comments in pythonhow to give comment in python programpython 25 commentpythong commentsall comment pythonpython code for commentspython code title commentwrite comments pythonhow to select and comment in pythonmark an comment out code pyhtonhow to comment lines in pythonhow is a comment created in pythonpython3 commentspython commenting standardhow to put things in comment in pythongood commenting python coomnet in pythonpython comentaryreal python for commenting in pythonhow to comment python 5dpython comment headermulline comment in pythonpython block commentswhat code should you add to python to create a commentblock comments ptyhonhow to make a line a comment in pythonpython comment lines of codehow to comment in pythonpython code commenting standardspython string commenthow to comment python language python adding comments to functionadd comment to function pythonhow to write function comments pythoncommand to comment in pythonwriting comments in pythonhow to comment out in pythondisplay inline comments pythonhow to create a comment in pythonget detailed comments in pythonpython how to comments for functionscomment style pythonhow do you write comments in pythonphyton commentsadd comment pythonhow to show a method in different way in a comment in pythonpython comments conventionhashtag comment pythonhow to write accurate comments in pythonwhat are the different ways to give comments in python 3f 5chow to comment a block of code in pythonpython documentation commentscomment code pythonpython how to comment a filewhich type of comment are in pythoncomments pythinpython block comments for funcitoncomment in pythoncommenti in pythonhow to make a section a comment pythonhow to make a block comment in pythonhow to put comments on pythonhow to comment line in pythoncomments on python objectspython commenypython comment mixed in codepython how to leave section commentspython note commentpython comment within linecomment i pythonpython functin comment examplepython put lines in commentcomments in phytoncomment out a block in pythonhow comment created in pythonpython special commentsadd python commentscomment using 23 pythonbetter comments for pythoncomment created in pythonpython header comments 2f 2a 2a 2f in pythoncomment string pythonhow to insert comments for various lines 22python 22add comment to python codecomment function in pythonhow to put comments in pythonbest way comment on pythonhow do you comment in pythonhow to insert comments in pythonpython comments of functionhow to write a comment on pythoncan you write comments without 23 in pythoncomments in pycomments in pytho 3 10python commenspython how to print with commenthow to comment in python 27pyhton commentshow to add function comments in pythonhow would you declare a comment in python 3fpython commentery roulesto do comment in pythonmaking comment in pythontypes of comments in pythonadd good comments in pythoncomments with pythondifferent ways of commenting pythonpython comment out inlinemake the comments in pythonhow to comment a python functioncomments in python 23python 23 25 25 commenthow to add comments on pythonpython comments while developingfunction comment in pythonhow to comment in pythoncommenting pythonhow to use comment in pythonpython begining comment formatpython function comment headerpython how to create commentcommenting functions in pythoncomment a whole section in pythoncomments on pythoncomments in side a long string pythonlist of comments pythonpython comemntcomments in python examplecomment in python definitioncomments on python codepython comment formathow to mkae comments in pythonpython comment out a blockhow to makr a python comment as importantcomment is pythonblock comment pythobpython 27 27 27 commenthave a comment in a module in pythonpython function commentingpython explanation commentturn python line to commenthow to do help comment on pythoncomment out in python 3comment symbol in pythoncomment code in pythonmake a comment in pythoncomment functions in pythonblock comments pythonpython header comment blockwhat are comments 3f why do we use comments in python programming 3f explain with example ocomment blocks python functionspython distinguish commentted code and commentsbetter comments in pythonpython create multiline commentpython add a commentpython make section commenthow to comment out section in pythonpyhton how to put everything in a commentprint with comments pythoncomment for pythonhow to comment the whole page in pythonin comment pythonhow to write long comments in pythonhow to comment multiple lines in pythoncomment documentation pythonhow to comment python filehow to comment on pythonmake comments in ptyhoncomment 7b 7d pythoninline comment pythonpython 3 commenthow to add a method in comment in pythonpython comment in linecommentaar in pythonhow to make block comment in pythonpython coding commentpython howto commentpython 2 commentpython proper way to comment functionscommento in pythonleaving a note in pythoncorrectly comment in pythonhow to comment whole code in pythonpython how to make a commenthow to make comments pythonlines comment pythonpython 22 22 22 commentblock commenting pythoncomments for python methospython function example usage commentwhat is comments in pythonhow to put in comments in pythoncomments pythobsingle line commment in pythonby the use of which character 2c single line is made comment in python 3fhow are comments used in pythoncomment pythong codepython comment5show to write comments pythonpython comment bixcomment in pycharacter symbol used to indicate that the line of code is a comment in pythonpython comments documentationpython module commentscomment blocks pythonpython comments before or afterwhat is a python commentadd comment pythonhow to comment professionally pythonpython commentinghow to add comments in pytoncommente block pythonpython code commentsreal python comments simple examplespython function commentcomment out a section in pythoncool commenting in pythoncomment block in pythonpython mark part of codehow to add single line comment in python 3fmake notes python 22 22 22 comment pythonpython mark code as commenthow to comment line pythonadd comment python functionhow to coment in pythonpython code commentedhow comments are useful in programming 3f write example for python commentswhat is a 23 23 comment in pythonwhat is the correct way to comment is pythoncomment in hash in pythonwhere should i put comment lines in python codepython how to write commentspython how is a comment createdcomments types in pythonsend comment pythonpython function info commentpython comment functionclass comment in pythonhow to comment things out in pythontag used for comment in pythonblock of comment pythonhow to make a line comment in ipythonhow to comment somehting in pythonhow to make comment on pythonpython comment inmake a comment in python codepython comments funny scomment in pythoncomment in pythonghow to insert comments 22python 22comment in python buttonhow do you add a comment to existing python script 3fpython 2c commenting codecomment out in pythonwhy are comments used in pythonstandard python commentshow to make a new string in pythonhow to coment in pytoncommenting inpythontag used form comment in pythoncomment the whole python codehow to make lines comments in pythonpython comments frameworkhow to type a comment in pythonpython commenting functionsadd comments pythonpython read commentpython comment as librarypython how to make a notehow to change code to comment in pythonpython 3 best way to leave commenshow to mark and comment code in pythoncomment types in python schoolcomeent in pythondifferent types of comments in pythonpython commentaryhow give comment in pythonpython comment stylepython box comment formattinghow to put a comment in pythonpython add commentpython get code commentscomment in python using 2f 2fhow to make comments in python for entire pythonhwo to add a comment in pythoninstall python using comment linepython comment structurehow to add comments in python 3python long commentpython comments showinglong comments in pythonpython commentlinecomments in python begin withcomment in pythonmhow to write python file commentbest way comment inn pythoncommenting methods in pythonhow to properly add comments on function in pythoncomments in python begin with a 24 symbolsingle line comment in python begins with 3fhow to properly annotate code in pythonpython commentercomments in python filecommnets in pythoncommenting a function in pythonquote comments in a python functionconvert code to comment pythonblock of comments in pythonpython comment for a functioninline comment in pythonpython underlined block commentpython comment formattinghow can comment in pythonpython comment multi linecomment pythonwhat are all the ways to make a comment in pythoncomment out python blockhow to comment python codemulti line comments pythonremove all comment from python file onlinetypes of python commentspython in line comment 2f 2fhow to comment out a line in pythonmulti line comment in pythonadd comment in pythonparagraph comment in python 5dadd comment to python functionhow comment in pythonwhat is different between 27 27 27 and 22 22 22 comment in pythonhow to put coments in pythonhow commenti in pythonpython 22at sign 22 commentsadd a comment pythonadd comments to python functioncoment on pythoncomment out text in pythoncomments pythonpython comment usage use better comment with pythoncomments for python in htmlpython types of commentspython formatted commentcoment pythonpython comment linepython easy commentspecial comments on pythonin python source code comments can appearlong comment in pythongood comments in pythonpython single line commenthow to do multi line comment in pythoncomments in pytonpython comments blockpython print commentscomment a line in pythonhow to create comments in pythondocumentation commenting for pythonhow to write comments in pythonhow to comment in python scripthow to write a note in pythonhow to do a comment block in pythonhow to make good comments pythoncreate a comment in pythonquickly comment out code in python2 ways to make comment in pythonmake python text commentpython comment between codehow to properly comment python codehow to comment a line pythonhow do i commenting my python codes 3fcomments syntax in pythoncomment python commentcomments python exampleall comments in python shortucuthow to comments in python coehow to add comments in pythonblock comment in pythonpython commentapython author commentadding sections with comments in pythoncommentss pythonsyntax for single line comment in pythonhow to give comment in pythoncomment a function pythonpython commenting codepython def commentswhat is comment in pythonpython comentscomment style python functionhow to comment in python 3how to write good comments in pythonpython commentarcomment out sections pythonput code in comment pythoncomment a text pythoncomment block of code pythonwho to comment in pythonhow to auto commer text pythoncomment things in pythonhow to comment a function in pythonhow to put an enitre code in comment line in pythoncommenting in pythopncomments in pythonmcomments at the start of python fileshow is comment created in pythonhow to add a coment in pyhtonpython file commentcomment in pythoncomments in pythomake sections using comments pythonhow to comment in python languagewhy should i use comments in pythonhow to comment full code at once in pythoncommenng in pythonpython header comments examplepython read commentspython line commentcomment and document pythoncomment to code in pythoncomments content in python filepython 22 40 22 commentscomments in python scriptcomment out section pythonhow to add a cmment in pythoncomments inpythonpython inline comment out partial linepython3 commentcomment on pythonhow to add a comment in pythonblock comment pythopnpython method commentpython program to implement commentshow many ways are there to comment on python2 ways to give a comment in pythonhow do you insert comments in python code 3fpython how to comment blockcomment python code in htmlpython 3a commentpython multiple line commentcomment long pythonpython comment 5chow to make comments on python instead linepython commentycommand to comment code 22python 22python multi line commentusage comment python why are comments in python a 23notes in python symbolpython how to comment out a blockwhat is the correct way to comment with python 3fwhat is the correct syntax for a single line comment pythonpython function standard commentshow to comment block of code in pythonhow to add the comment in python code line comment in pythonmethods comment in pythonpython comment block standardhow to write a comment in pythonhow to add coments in pythonfunction comments pythonpython block of code commenthow to make comment pythonpython comment symbolwriting python commentstext to python commentcoments pythonpython 23 23 23python function syntax commentspython add notespython comment single linepython section commentcheck comment in pythonselect and comment in pythonhow to make a comment in python that earase commends from page 5ccomment a para in pythoncomment out python sectioncomentar pythonpython notes codecomments program pythonpython put code in commentpython run code in commentscomment line pythonhow to create a comment block in pythoncreate comment pythonhow to comment functions in pythoncomment in python 2commenting a block in pythoncode comments in pythonpython good comment exampleadd a comment line in python methodprofessional comments in python functionspython comments fnctiona comment in python is a text to help document the programpython how to properly comment a functionhow to comment when calling a function in pythonpython code function definition commentpython explainsation commentpython how to comment a functionhow do you make comments in pythonhow do we write comment in pythonhow to make everything a comment in pythoncomments iin pythonpython how to commentcomment section of code pythonhow to automatically comment a code in pythonpython code step by step comments onlinepython code comment multiple linesbooleancommenting code pythonhow to make code comment in pythonpython comment block of codecommenting line in pythonpython how to describe program opening lines in commentcommint in pythonhow do you add a comment to existing python scriptpython function definition syntax commenthow to add continues comment in pythoncommentin block pythonpython how to comment codehow to comment a block of code pythonpython commnethow to do comments in pythonhow to do python commentscommenting out in pythonadding notes to python functioncomment sections pythonpython comment out blockpython comment filecommenting paragraph in pythonhow to a comment in pythonwhat code should you add to python to create a comment 3fhow to comment out line in pythoncommenty in pythonpython commentar total code outhow to python language commentmake comments on pythonfunction comments in pythonmultiline comment pythonhow to set a part of the code as comment in pystructure python commentshow to make a comment on pythonhow to handle comments pythoncode comment in pythonhow do you write comments in python 3fpython commetnscommenting out code in pythona single line comment is created in python by 2acommencts in pythoninsert a comment in pythonhow to do comment in pythonhow to write comments in python 3fcomment paragraph in pythoncomment line python programsingle line comments oin pythonhow to comment entire code in pythoncomment in python callswhich is the special symbol used in python to add comments 3fhow to block comment in pythonpython inline commenthow to do multiline comment in pythonwrite comment in pythonhow does comments in pythonpython vcommentpythin print commentspython comment block codecommenting in pyproper way to add comments in pythonhow to add all comment on pythonshortcutremoving comments in pythonpython 2f in commentspython function description comment 22 22 22 22 22 22 is it a comment in pythonpython non inline commentpythoncomment codepython commenting a functionhow to use comments in pythoncode comments pythondo python programmers commentcomment out pythonpython comment funcitonhow to put a bunch of code in comment in pythonhow to commenting in pythonpython comments for functionshow to put comment in pythonpython put section in commentcomment to code generator pythoncommenting python functionspython comment line syntax comments in pythoncomment commands in pythoncomment in python structurecomments in python 5cconvert any text to comment in oythonpyton commentsstandard python commentingpython comentwhat is the character that in line python comments begin with 3fwhat is the correct way to comment is python 3f group of answer choices 2f 2fthis is a comment 40this is a comment 23this is a comment 24this is a commentpython what is commentinfpython fucntion commentcomment a section pythonmaking a comments section in pythonhow to make a note in pythonpython note linehow comments are written in pythonconvert text into python commentcomment in python 27need of comment in pythonwhat are the ways of writing comment in pythoncomment in string pythoninline comments pythonopen with python commenthow to make comment in python functionpython 40 commentscomments definition pythonblock comment in python 3python comment signin line comments pythonpython comment in linepython comment block of linescommends pythonpython when to use 27 27 27 commentscomment son pythoninsert comments in pythonpython make commentho to comment in pythonidentify the style that the python paragraph comment uses how to make commen to a class in pythoncomments in def top pythonhow to type comment in pythoncommenting in pythonspython comments 23block comments in python 3fcomment functions pythonhow to put comments in ptrhonadd comments in pythonpython comments for documentationpython 25 25 commentpython sample commentsbetter comments for python how to usehow to write comments on pythoncomments in pytohnpython comment in commandsingle line comment in pythona block of text comment pythonpython comments lines 23 23 23 comment in python meaning python comment 24how to add function description as comment in pythoninline comments in pythonwrite comments in pythoncoment in pythoncomment python codehow to comment text in pythonhow to make paragraph comments on pythoncomments in pyhton 27comments in pyhtonhow to correctly connment in pythoncomment statements in pythonblock comment in python syntaxcomment in python 3python line commentscome commentare in pythonall comments pythoncomments dont work in python scriptpython create a commenthow to make notes in pythonpython how make commenthow to put notes in pythonmultiple line comment in pythonsymbol for comment in pythonpython 23 commenthow to type comments in pythoncomment in python languagecorrect syntax for comment in pythonpython make block commentpython inline commentsmake comments in pythonhow to read a comment line in pythoncomments at the start of python files guidelineshow to write better comments in pythonbest way to comment code pythongood practices comment for method pythoncomentig in pythonmake comment a different symbol pythoncoments in pythonpython comment out lineprint with comment pythonhow to wright notes in pythonpython ommentwhat is a comment in pythonhow to make comments in pythonpython comment out one linepython commetingcomments in ythonwhat does commented out python code look likebest example python commentpython comment a blockpython code comments documentationgood practice commenting 5epythonhow to create comment in pythoncomments function pythoncomment a section in pythonwhat are the command to comment out a line in pythonhow to make closed comments in pythonhow to make a comment in pythonhow to comment code block with pythoncomment line in python 3create comments in pythonpythn commentscomment in python3comment out a block of code in pythonthis is a comment in pythonhow to comment out block of code in pythonwhat to put in comment pythoncommenting in python 3how to properly add comments to python codetypes of comments pythonpython commentationcomments about pythoncomment in python2python block commenthow to comment code in pythoncomment out block pythonhow to write class comment in pythoncomments in pythnowhich one represents the correct python code for comments 3fcomments for function pythonhow to comment a line in pythinpython method commentshow to enter comments in pythoncooments in pythoncomment python functionbest way to comment python codepython better commentspyhton comment blockhow to comment a whole section in pythonhow can select all and comment in pythonwhich symbol is used in python to create a comment 3fbest python function commentspython good function comment comment block pythonsingle comment in python begins witjhpython in line commentcommenting a block of code in pythonwriting small comments in pythonhow to comment the whole code in pythonhow to show a block of comments in pythonhow to comment python filespython make comentscomment a code in pythonturn code into comment pythonmake comments pypython comments stringsexample python program with commentspython comment tylewhy do we use comments in python 3fpython 23 type commentsputting comment in pythonpython comment allpython comments 22 22 22how to add comment in python comment in pythoncomment out a def pythonwhich of the following is a comment in python 3fhow long to make comment lines in pythonhow to comment out code pythonpython how to comment functionscan i comment on pythoncomment to do pythoncomment python symbolcode comments python functionone line notes pythonpython for commentnotes in pythoncomments in python 3details comment for function in python 2f 2fcomment pythongood comments pythonfor comments in python 2c we usecomment out code pythonmulti line comment pythonhow to comment out pythonhow to write block comments pythoncheck if 5b 7b 7d 5d commes in pythonblock comments in pythonheader comments pythonhow o write comments in pythonhow to do long comment in pythonmake comment in pythoncommentin pythom codecomment a line in python 5ccomment a block of code in pythonexamples in comments pythonmulti line commentshow to write good comments in code pythonlisted comments in pythonpy line commentsshort to comment in pythona comment in python is a textcomment lines in pythonparagraph comment in pythonprint comments in pythoncomment section in pythonpyhton code step by step commentspython function commentspython code commentwhen to comment pythonhow to do notes in pythonhow do you add comments in pythonhow to add python commentscorrect way to commet code pythonhow to add a comment in ouyhoninline comments in python funcitoncomment out lines in pythonhow to creat notes in pythoncomment the code in pythonpython comments correctpython commentaarpython modules commentshow to comment a line in pythonhow to put a comment on pythonhow to write comments inside code pythonout comment python codepython hashtag explanation markhow to make python codes as commentpython how to make commentsfunction comment pythonwhere to add comment for a script pythoncommenting a line in pythonhow many comments should one write in pythonpython comments python docshow to write inline comments in python functonhow to leave comments in pythonhow to make comment in pythonhow to comment a block in pythonpython cokments examokewhere to place comments pythonpython comment outcomments in python filescommentng in pythonblock commenting in pythonpython how to block commentis 23 a comment in pythonadd the comment strings manipulation in pythoncommets in pythonhow to comment out a block of code in pythonpython functions with commentswhat is the used for commenting in pythonwhich symbol is used to comment in pythondocumentation comment in pythonhow to comment oon pythonhow to specify note in pythonpython code comments for functionscomments python 3commenting the lines in pythonmaking paragrpah notes in python fileoneline comment in pythonpython comment examplehow to create comments in pyhtonpython write commentshwo to do a ultiline comment in pythonpython line commentingpython comments typepython add commentshow do you put notes on a python code in htmlhow to comment program in pythoncommenting multiple lines in pythonwhich symbol is used to define the single line comment in pythoncomments in python2writting comments in pythonblock comment function pythonhow to put comments in python