How Not To Write Python Comments

Tips to improve the way you write and use comments

Erik van Baaren
Dec 14 · 5 min read
Image © by author

A Python comment is an explanation in the source code of a Python program. It doesn’t do anything besides being informative and is ignored by the Python interpreter. In this article, you will learn:

  • what Python comments are,
  • how to add comments to your Python code,