Computer Science, asked by ayushsharma2440, 15 days ago

explain the importance of comments? with a small example in python

Answers

Answered by itztaesprincessliza
4

Answer:

\huge\red{A}\pink[N]\orange{S}\green{W}\blue{E}\gray{R}

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 Alaina6
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