Comments in Python
What's Comments?????? ? Comments in your python Scripts are statements that you want to ignore by the interpreter. Why Comments?? To make the code more understandable. Types of comments Two types -To indicate what a section of code perform. (usually for programmers) -Multi-line comment serve as documentation for others. Ways to write comments 1.Single line comments are created simply by starting a line with hash(#)character. 2 .Multi line comments are created by adding delimiter(""" """) or(''' ''') on each end of the comment . Ex-Comments shown below in IDLE(as a editor in python)

Comments
Post a Comment