Project 4: Comments (Correcting myself)

--Originally published at TEC GDL 2016

In my first project, I was of the belief that a comment within Python simply means using the ‘print’ function within Python. As I read along the interactive book we were given, I realized that this function simply helps to display a value on the screen.

Regarding the use of comments, I will try to give a more clear picture on this topic today.
Comments can simply be described as notes to your program. These notes become necessary once a program gets complicated. Thus, comments are used to help the reader understand the meaning of some parts of your code. These comments are completely ignored by the computer when the program is run.

To make use of a comment within your code, simply enter

# In the beginning of the line
# These lines will then be ignored by the interpreter

I hope you were not completely confused by my previous explanation on comments. In my future programs I will try to use comments in order to help the human reader understand my train of thought.