Commenting

The way commenting is done can be different from language to language but the most common ways are with the '#' and '//' characters. In Python the # symbol is used to add comments within a program. Any text that follows the pound will be ignored by the interpreter. If you want to have comments that continue past a single line, use the """ (triple quotes). The following shows an example of the different types of comments in Python.   """ This is     my program """    a = "Hello"    b = "World"    c = a + b    #c equals the string "HelloWorld" In the above code, the phrases "This is my program" and "c equals the string "HelloWorld"" are completely ignored by the Python interpreter. Please note that within this wiki we use comments often to explain what the sample code is doing.