explain the importance of comments? with a small example in python
Answers
Answered by
4
Answer:
Programming reflects your way of thinking in order to describe the single steps that you took to solve a problem using a computer. Commenting your co.de helps explain your thought process, and helps you and others to understand later on the intention of your co.de.
Answered by
3
Comments are non-executable statements in Python. It means neither the python compiler nor the PVM will execute them. Comments are intended for human understanding, not for the compiler or PVM. ... There are two types of commenting features available in Python: These are single-line comments and multi-line comments.
Similar questions