python comment block

Solutions on MaxInterview for python comment block by the best coders in the world

showing results for - "python comment block"
Sophie
25 Oct 2016
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'''
Vincenzo
05 Oct 2016
1# This is a comment
2
3""" This is a comment"""
4
5"""
6This is a comment
7Also this is a comment
8"""
9
Emil
02 Aug 2019
1# one hashtag for a single line comment
2
3"""
43 quote marks is technically
5a docstring, but it works as
6a multi line comment
7"""
8
9##pressing 'Alt 3' in IDLE comments out
10##what you are selecting
11and 'Alt 4' to uncomment
12
13if False:
14  print('Hello') # yes you can do it at the end of a line
15  you can technically put if False around code you dont want it to run,
16  but that would mean it has to have correct syntax,
17  and would not be good for readability.
Katelynn
27 Jun 2018
1"""
2this 
3is
4a multiline 
5comment
6"""
Jannik
07 Jan 2020
1select the lines you want to comment
2and 'use Ctrl + / to comment all of the selected text'.
3To uncomment do the same thing.
4OR
5put a '#' before each line
6
7eg : #This is a comment
Angela
29 Apr 2020
1#This is a comment
2#And another one
3print("Hello !)  #Comment in the same line
4      
5"""
6A multiline
7comment
8"""
9print("Hello !)
queries leading to this page
block comment pythonpython add a commentcomments pythonpython comment out blockpython commenthow to add comments in pythonhow to comment python3comment section in pythoncomment blocks pythoncharacter symbol used to indicate that the line of code is a comment in pythonpython big commentpython comment multiple lineshow to mass comment in pythonremove all comment from python file onlinehow to comment a function in pythonpython block of code commenthow to comment code in pythonpython large commentcomments pythincomment python codehow to comment out in pythonpython how to block commentcomment out a block in pythoncommentary pythonhow to add comment in pythondocument comment in pythonblock comments in pythonpython multiple line comment outhow do you comment in pythoncoments pythoncomment a block of code in pythonpython how to commentcomment out full stringcomment a section pythoncommente block pythonwrite comments in pythoncomments in pythoinhow to mkae comments in pythonblock of comment pythoncomment multiple lines pythonpython comment out sectionpython comment out multiple block of codehow to create comment in pythoncomment code in pythonpython comments 22 22 22python comment linehow to type comment in pythonpython comment sectionhow to comment pythoncomment blocks in pythonpython comment large areacomment in pythonpython remarkscomment out text in pythonpython block commentcomment a block in pythoncomment big section pythonhow to make comments in pythonpython comment blockcommenting in pythonidentify the style that the python paragraph comment uses how to give comment in python programcomment block pythonhow to leave comments in pythonhow to comment in pythonpython comment within linepyhton commentmake comment in pythonwhat is a comment in pythoncommenti pythonlong comments in pythonpython comment lines of codepython commentarcomments in python 3how to comment all of the selected text in pythonpython comment out block of codehow to comment in pythonpython comment a block of codehow to comment out a block of code in pythonpython comments blockcomment out block pythonparagraph comment in pythoncomment line in pythonpython commentshow to write comment in pythonpython comment headercomment pythonhow to make everything a comment in pythonpython how to comment out a blockhow to comment a block of code in pythonhow to write long comments in pythoncommenting a block of code in pythonpython how to comment blockhow to put comments in pythonhow to select code and comment it in pythonhow to write comments in pythonpython make section commenthow to block comment in pythoncomments in pytoncomment out in pythoncomments in pythonpython comment block