Intro to Python Python Comment Python program Print function Print multiple Escape characters Python operators   HTML images HTML Attributes HTML hyperlink HTML Comment HTML Embed Templates

Comment in Python

Comments can be used to explain Python code.
They can be used to make the code more readable.
Comments can be used to prevent execution when testing code.

'#' is used to give a comment in Python.

Anything with a '#' wont be considered & will not appear in the output.