Python supports two types of comments:
1) Single lined comment:
In case user wants to specify a single line comment, then comment must start with #
Example :
# This is single line comment.
2) Multi lined Comment:
Multi lined comment can be given inside triple quotes.
Example :
''''' This
Is
Multipline comment'''
Example :
#single line comment
print "Hello Python"
'''''This is
multiline comment'''
1) Single lined comment:
In case user wants to specify a single line comment, then comment must start with #
Example :
# This is single line comment.
2) Multi lined Comment:
Multi lined comment can be given inside triple quotes.
Example :
''''' This
Is
Multipline comment'''
Example :
#single line comment
print "Hello Python"
'''''This is
multiline comment'''