When writing code in any programming language, it’s important to make the code readable and clear so other people (include you) can easily maintain and develop the program. One way to do it is to use comments.
In python there are two types of comments:
- Single-line comments are created by beginning with the hash (#) character, and they are automatically terminated by the end of line.
# This is a single-line comment in python
- Multi-line comments are created by adding a delimiter (“””) on the beginning and on the end of the comment.
""" This is a