---

How to Comment in Python

Python ignores everything written on the line after the hash mark (#).

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis