--Originally published at angelmendozas
Comments have two ways to be done, but first, why we put a comment in python?
According to python for beginners:
Comments in Python are used to explain what the code does.
1.The first is by using a hashtag (#) before the comment like:
#SUM
and then you do the sum of x number of values or do whatever you put in the comment.
2.The second way to put a comment is using (“””) before and after the comment and this way you can write a paragraph as if you were in Word.
Resources:
http://www.pythonforbeginners.com/comments/comments-in-python