Comments are used to write something which the programmer does not want to execute but want to keep that in the python program.
Types of comments
There are two types of comments –
1. Single line comments
Written using #
2. Multi-line comments
Written using ‘’’comment’’’
Majority of people use comments for making their programs much easier by writing the related information/content with the programs because it is not going to harm the code.
Comments are time saving
Comments save the time of users as well by putting the headings of code along with them.
What are the other methods to save time using comments in Python?
Write your answer in the comment section.