Q. |
|
|||
Comments are the integral part of a program. A comment in the program is a text that explains the code written in the program. The compiler and interpreter ignore these comments and do not execute them. They make the code easier to understand. There are mainly two ways to write comments in Python programs: 2) Multiline or Block Comments: These comments are written in more than one line. For Example: |
||||
Comments are the integral part of a program. A comment in the program is a text that explains the code written in the program. The compiler and interpreter ignore these comments and do not execute them. They make the code easier to understand. There are mainly two ways to write comments in Python programs: 2) Multiline or Block Comments: These comments are written in more than one line. For Example: |