Answers for "python coments"

6

comments in python

#this is commented
'''
this
is
also 
a 
comment
'''
Posted by: Guest on August-25-2020
7

comment in python

# This is a one line comment

"""
This is a comment for multiple lines,
as you can see
"""

""" But also this is valid """
Posted by: Guest on October-05-2020
4

python comment

# Single line Comment

"""
	(''' single quotes ''') will also work
	Multi Line
	Comment
"""
Posted by: Guest on November-11-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

Python Answers by Framework

Browse Popular Code Answers by Language