filmov
tv
Comments in python || Single-line Comments || Multi-line Comments #python3 #python #programming

Показать описание
In this video, I have discussed Comments in python.
Why comments are required?
Comments are required, to make our code more readable and easy to understand. Comments can help others in understanding our code easily and they can also help us in recalling if we by chance forget something about our code. Comments can be used anywhere in our code.
How many types of comments are supported in python:
1. Single-Line comments represented by #(hash)
2. Multi-Line comments represented by # in every line or can be represented by 3 double or single quotes.
Q. What is the difference between Doc-String and Multi-Line Comment.
Tip: Try to add all the things that we have done till, date in a single function
Thank you for watching and reading.
Happy Coding ahead 👨🎓🌟✨
#python #pythonprogramming #coding #learning #teaching #youtuber #pythonfrombasics.
Why comments are required?
Comments are required, to make our code more readable and easy to understand. Comments can help others in understanding our code easily and they can also help us in recalling if we by chance forget something about our code. Comments can be used anywhere in our code.
How many types of comments are supported in python:
1. Single-Line comments represented by #(hash)
2. Multi-Line comments represented by # in every line or can be represented by 3 double or single quotes.
Q. What is the difference between Doc-String and Multi-Line Comment.
Tip: Try to add all the things that we have done till, date in a single function
Thank you for watching and reading.
Happy Coding ahead 👨🎓🌟✨
#python #pythonprogramming #coding #learning #teaching #youtuber #pythonfrombasics.