Back Navigation Next Navigation Conceptual Review (page 9 of 55)

Now, let's look at the Python syntax starting with comments.

Comments are explanatory statements that are not executed by the Python interpreter. They are designed to provide explanations to help yourself and others understand what was done. In Python, comments are entered in one of the following ways:

1) text starting with a # sign.
2) between a doc string (""" """). A doc string comment is generally for comments that span multiple lines.

PyCharm Logo