Answers for "python put block in comment"

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
0

Example of Python Inline comments

Python Inline comments
print("Hello World") # This is a example of inline comment
Posted by: Guest on November-29-2021

Python Answers by Framework

Browse Popular Code Answers by Language