Commenting in Python is also quite different than other languages, but it is pretty easy to get used to. In Python there are basically two ways to comment: single line and multiple line. Single line commenting is good for a short, quick comment (or for debugging), while the block comment is often used to describe something much more in detail or to block out an entire chunk of code.
One Line Comments
Typically, you just use the # (pound) sign to comment out everything that follows it on that line.
Multiple Line Comments
Multiple line comments are slightly different. Simply use 3 single quotes before and after the part you want commented.
Alright, we are done with comments, but don’t forget them. They are your best friend in debugging complex Python code. Now onto the actual programming stuff.