When writing a program you’ll find it helpful to put some notes within your code to describe what it does. A comment is very handy when you have to review or revisit your program. It will also help another programmer who might need to go over the source code.
You can write comments within your program by starting the line with a hash(#) symbol. A hash symbol tells the Python interpreter to ignore the comment when running your code.
For multi-line comments, you can use a hash symbol at the beginning of each line. Alternatively, you can also wrap multi-line comments with triple quotes.