Writing Comments in Python (Guide)

Writing Comments in Python

Learn how to write Python comments that are clean, concise, and useful. Quickly get up to speed on what the best practices are, which types of comments it’s best to avoid, and how you can practice writing cleaner comments.

About Jackie Wilson

Jackie Wilson

Jackie teaches computer science full-time for Cecil College, and fell in love with Python many years ago when she realized it wasn't pseudocode, but an actual language.

» More about Jackie

Each tutorial at Real Python is created by a team of developers so that it meets our high quality standards. The team members who worked on this tutorial are:

« Browse All Courses