what is the purpose of adding a comment in the program?
what are the two ways used to add the comments in the python?
Answers
Answered by
13
Answer:
In computer programming, a comment is a programmer-readable explanation or annotation in the source code of a computer program. They are added with the purpose of making the source code easier for humans to understand, and are generally ignored by compilers and interpreters
Explanation:
there are two ways to annotate your code. The first is to include comments that detail or indicate what a section of code – or snippet – does. The second makes use of multi-line comments or paragraphs that serve as documentation for others reading your code
Similar questions