Comments

How do you include a comment in your code?

A comment is a line of text that's ignored by the Python interpreter. Comments begin with a hash mark (#).

When should you include comments?

Comments allow you to leave notes for yourself or others inside a program. Comments are useful when writing complex code that you might need to return to. They can remind you of the reasoning behind the logic. Clear, concise comments are a sign of a professional programmar. When considering different ways to solve a specific problem, include a comment that explains the approach you chose to take.