Answers for "Python comment block"

9

comment out a block in python

select the lines you want to comment
and 'use Ctrl + / to comment all of the selected text'.
To uncomment do the same thing.
OR
put a '#' before each line

eg : #This is a comment
Posted by: Guest on May-05-2020
4

pyhton comment

#This is a comment
#And another one
print("Hello !)  #Comment in the same line
      
"""
A multiline
comment
"""
print("Hello !)
Posted by: Guest on February-13-2021

Python Answers by Framework

Browse Popular Code Answers by Language