0
1.2kviews
Explain different types of comments in python.
1 Answer
0
81views

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 …

Create a free account to keep reading this post.

and 5 others joined a min ago.

Please log in to add an answer.