Tag: Docstrings
A Guide to Writing Comments in Python
Posted on by David Singer
Category: Tutorials | Tags: Application, Argument, Code, Comment, Comments, Data Management, Data Science, Dictionaries, Docstrings, Documentation Strings, Fintech, Function, Integers, IoT, Machine Learning, Multi-line, object, Parameters, PIP, PIP3, Platform-Python, Python, Python 3, Python Code, Python Comment, Python shell, Python Support, Python Web Application, Python-PIP, Single-line, SMB, Source, String, Strings, Variable, Variable Length, Venv, Virtual Environment, Virtualenv, Web Application Development, Web Applications
Reading Time: 5 minutes
What is a Comment?

In simple terms, a comment is an entry added to the source code to allow a deeper understanding of the logic behind why the code was written the way it was. In Python, the ‘#’ or pound symbol is required before every comment. This symbol allows the Python interpreter or compiler to ignore the pursuant text.
Categories
Have Some Questions?
Our Sales and Support teams are available 24 hours by phone or e-mail to assist.
1.800.580.4985
1.517.322.0434