Follow

Python comment's

Python comment's

Python comments are use for developer , interpreter can't read comments . comments write useing # or Tripal quotes.
Python have two types of comments
1. single line comments

Example

#this is single linecomment

Try it Yourself »

2. multiline comments
Python not exist multiline comment's, but python con't read triple quotes
using triple quotes

Example

'''this is multiline comment'''

"""this is multiline comment"""

Try it Yourself »

No comments:

Post a Comment

Tell us how you like it.