0
Q:

how to add a cooment in python

# Single line Comment

"""
	(''' single quotes ''') will also work
	Multi Line
	Comment
"""
1
#How to add a comment/multi-line comment in python

#This is a single line comment

#For a single line comment, you need to add a hashtag in python.

"""
This is the multi-line comment
You start of with triple single quotes or else you can also start with
triple doulble quotes (hope that makes sense) and then you end with triple
single quotes or triple double quotes
"""
0
# This is a comment
'''
This is a
MULTI LINE comment!
'''
0

New to Communities?

Join the community