How to write comments in python | Single Line Comment | Multiline Comment | Docstring - P2.1

Veröffentlicht am: 01 Januar 1970
auf dem Kanal: technologyCult
29,775
203

#PythonComments #CommentsinPython #technologycult #docstring

Single Line Comment
It might be present above the code or with inline code
Multi Line Comment
It will have # character in everyline of the comment

DocString Comment
Documentation string that are written within single or double quotes
and that act as comments

Diff between DocString and comment
Docstring is not omitted by the python interpreter while comments is
omitted by the interpreter.
Docstring is basically used for documentation. In some of the methods when we click
it will show the documentation.

It is a good practice to create documentation for ourself and for the future use
by other developers.

All Playlist of this youtube channel
====================================

1. Data Preprocessing in Machine Learning
   • Data Preprocessing in Machine Learning| Li...  

2. Confusion Matrix in Machine Learning, ML, AI
   • Confusion Matrix in Machine Learning, ML, AI  

3. Anaconda, Python Installation, Spyder, Jupyter Notebook, PyCharm, Graphviz
   • Anaconda | Python Installation | Spyder | ...  

4. Cross Validation, Sampling, train test split in Machine Learning
   • Cross Validation | Sampling | train test s...  

5. Drop and Delete Operations in Python Pandas
   • Drop and Delete Operations in Python Pandas  

6. Matrices and Vectors with python
   • Matrices and Vectors with python  

7. Detect Outliers in Machine Learning
   • Detect Outliers in Machine Learning  

8. TimeSeries preprocessing in Machine Learning
   • TimeSeries preprocessing in Machine Learning  

9. Handling Missing Values in Machine Learning
   • Handling Missing Values in Machine Learning  

10. Dummy Encoding Encoding in Machine Learning
   • Label Encoding, One hot Encoding, Dummy En...  

11. Data Visualisation with Python, Seaborn, Matplotlib
   • Data Visualisation with Python, Matplotlib...  

12. Feature Scaling in Machine Learning
   • Feature Scaling in Machine Learning  

13. Python 3 basics for Beginner
   • Python | Python 3 Basics | Python for Begi...  

14. Statistics with Python
   • Statistics with Python  

15. Sklearn Scikit Learn Machine Learning
   • Sklearn Scikit Learn Machine Learning  

16. Python Pandas Dataframe Operations
   • Python Pandas Dataframe Operations  

17. Linear Regression, Supervised Machine Learning
   • Linear Regression | Supervised Machine Lea...  

18 Interiew Questions on Machine Learning, Artifiical Intelligence
   • Interview Question for Machine Learning, D...  

19. Jupyter Notebook Operations
   • Jupyter and Spyder Notebook Operations in ...  


Auf dieser Seite können Sie das Online-Video How to write comments in python | Single Line Comment | Multiline Comment | Docstring - P2.1 mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer technologyCult 01 Januar 1970 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 29,775 Mal angesehen und es wurde von 203 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!