L 11: SINGLE LINE & MULTI LINE COMMENTS IN PYTHON | DOC STRING IN PYTHON | FULL COURSE ON PYTHON

Publicado em: 15 Setembro 2021
no canal de: Parnika Tutorials
830
26

Comments are descriptions that help programmers better understand the intent and functionality of the program.
They are completely ignored by the Python interpreter.

Advantages of Using Comments:
Using comments in programs makes our code more understandable. It makes the program more readable which helps us remember why certain blocks of code were written.
Other than that, comments can also be used to ignore some code while testing other blocks of code. This offers a simple way to prevent the execution of some lines or write a quick pseudo-code for the program.
Single-Line Comments in Python:
In Python, we use the hash symbol # to write a single-line comment

Multi-Line Comments in Python
Python doesn't offer a separate way to write multiline comments. However, there are other ways to get around this issue
We can use # at the beginning of each line of comment on multiple lines.
#python #pythoncourse #parnikatutorials
00:00 - Introduction
00:37 - What is a comment
01:31 - Types of comments
02:52 - How to provide single line comments
03:32 - Multi line comments
05:21 - Doc string
09:25 - Implementation in Jupyter Notebook
Website: www.parnikatutorials.in
Email id: parnikatutorials@gmail.com
To get the regular updates:
Telegram link: https://t.me/Parnikatutorials
Facebook: https://m.facebook.com/profile.php?id...
Linkedin:   / parnika-tutorials-a8a9831b2  
Pinterest:   / parnikatutorials0892  
Instagram:   / parnikatutorials  


Nesta página do site você pode assistir ao vídeo on-line L 11: SINGLE LINE & MULTI LINE COMMENTS IN PYTHON | DOC STRING IN PYTHON | FULL COURSE ON PYTHON duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Parnika Tutorials 15 Setembro 2021, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 830 vezes e gostou 26 espectadores. Boa visualização!