Answers for "how to quickly comment out code python"

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
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