Answers for "python comment section"

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
6

comments in python

# This is a comment
Posted by: Guest on July-04-2020
1

python comments

# This is a single lined comment for Python,
# and can be used at the end of a line of code

"""
For multi-line comments,
use three hashtags! can not go in the end of a line of code.
""" # make sure to close your comment!
Posted by: Guest on October-04-2020
-2

python commenting

this is a coment
# put your comment here
Posted by: Guest on December-11-2020

Python Answers by Framework

Browse Popular Code Answers by Language