Python Comments - LearnHowToCode SarkariResult.com Interview Questions and Answers LearnHowToCodeOnline
Python Comments

Python Comments


In this page you can learn the most important use of python comments. Python supports two types of comments.
Comments are the most helpful staff of any program. It enables us to understand the way, a program works. In python, any statement written along with # symbol is known as a comment. The interpreter does not interpret the comment.
Comment is not a part of the program, but it enhances the interactivity of the program and makes the program readable.
·         Single lined comment.
·         Multi lined Comment.

Single lined comment

If developer want to only specify one line comment than use single line comment, then comment must start with ?#?
# This is single line comment.

Multi-lined Comment

If developer want to multi-line code comment than use Multi lined comment. like this..
''''' This 
    startup  
    India by Narender Modi''' 
    

About Mariano

I'm Ethan Mariano a software engineer by profession and reader/writter by passion.I have good understanding and knowledge of AngularJS, Database, javascript, web development, digital marketing and exploring other technologies related to Software development.

0 comments:

Featured post

Political Full Forms List

Acronym Full Form MLA Member of Legislative Assembly RSS Really Simple Syndication, Rashtriya Swayamsevak Sangh UNESCO United Nations E...

Powered by Blogger.