--Originally published at Elu's Blog
Comments are just notes that you can write on your code. When you have a code with 100 lines, comments are very helpful for knowing what each part of the code does. To write a comment you just write the ‘#’ symbol and then write your comment. As easy as that.
Here is an example:
Here is an alternative explanation:
How to Write Comments in Python