Python Comments

Comments in Python is the inclusion of short descriptions along with the code to increase its readability. A developer uses them to write his or her thought process while writing the code. It explains the basic logic behind why a particular line of code was written

# This is a single line comment in python

"""
  This is a doc type/multi line comment
  in python
"""

Last updated