Learn Python
WIP Comments
12.1
Lesson

WIP-Syntax of comment

Comments are used in a programming language to explain the code and make it more readable. Comments are extremely helpful when the program is developed by more number of developers especially when the testers test the code. In Python, comment starts with a #. Anything written after # in the same line will be considered as comment. In the below example one comment is on the same line while the other on the new line. Both are acceptable.