0
1.2kviews
Explain different types of comments in python.
1 Answer
written 18 months ago by |
Solution:
Comments are descriptions that help programmers better understand the intent and functionality of the program.
Comments are for developers. They describe parts of the code where necessary to facilitate the understanding of programmers, including yourself.
There are different types of comments used in python:
Single-line Comments.
Multi-line Comments.
Docstring …