Answers for "python comment block of code"

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
3

how to make a comment in python

#Use a hash
Posted by: Guest on September-19-2020
5

how to comment python

# This is a comment
'''
This is a
MULTI LINE comment!
'''
Posted by: Guest on September-06-2020

Python Answers by Framework

Browse Popular Code Answers by Language