Comments in Paython


Prev Tutorial Next Tutorial

Comments in Python

  • Single lined comment
  • Multi lined Comment

Single lined comment

In python single line comment is start with #.

Single line Comment Syntax Python

#comments start from here

Multi lined Comment

.

Multi line Comment Syntax Python

''''' This 
   Is 
   Multipline comment'''  

''''' This 
   Is 
   Multipline comment'''  

Python Comment Example

#single line comment  
print "Hello Python I am single line comment"  

'''''Hello python 
 I am multiline comment'''  

Prev Tutorial Next Tutorial

Advertisements
Download Projects