Python Comments

Python is similar as c programming language python support two type of comments the following description and it's example.

Single Line Comments

In case user wants to specify a single line comment,then comment must start with #

# This is Single Line Comment.

Multi Line Comment

Multi line comment can be given inside (''') triple quotes.

''' This
	Multi Line Comment.'''
Share Share on Facebook Share on Twitter Share on LinkedIn Pin on Pinterest Share on Stumbleupon Share on Tumblr Share on Reddit Share on Diggit

You may also like this!