Python Land
Published in

Python Land

How Not To Write Python Comments

Tips to improve the way you write and use comments

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,

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store