Comments :
Comment is a line of text that appears in a program but it does not execute when run the code.
Comments used to explain the code in program.
Comments used to make the code more readable.
Classification Of Comments :
There are two types of comment in python
- Single Line Comment
- Multi Line Comment
Single Line Comment :
We create a single line comment in Python using a hash (#) symbol at begining of the line.
Multiline Comment :
We create a Multi Line Comment in Python using three double quote (""") or three single quote ("') at begining and end of the line.
0 Comments