#THEM
#Them
#them
In this video we are going to talk about comments in python programming language
How to use comments in Python
When working with any programming language, you include comments in the code to notate your work. This details what certain parts of the code are for, and lets other developers – you included – know what you were up to when you wrote the code. This is a necessary practice, and good developers make heavy use of the comment system. Without it, things can get real confusing, real fast.
How to Write Comments in Python
In Python, there are two ways to annotate your code.
The first is to include comments that detail or indicate what a section of code – or snippet – does.
The second makes use of multi-line comments or paragraphs that serve as documentation for others reading your code.
Think of the first type as a comment for yourself, and the second as a comment for others. There is not right or wrong way to add a comment, however. You can do whatever feels comfortable.
Single-line comments are created simply by beginning a line with the hash (#) character, and they are automatically terminated by the end of line.
For example:
#This would be a comment in Python
On this page of the site you can watch the video online (Marathi) Python Part 6 - Comments in Python - practical with a duration of hours minute second in good quality, which was uploaded by the user Python Vython 17 February 2019, share the link with friends and acquaintances, this video has already been watched 168 times on youtube and it was liked by 6 viewers. Enjoy your viewing!