What is the purpose of adding a comment in a program? What are the two ways to add the comments in python
Answers
Answered by
1
the two way are
- Using Hash
- multi line strings using 3 quotes
Answered by
0
Answer:
What is the purpose of adding a comment in a program?
Explanation:
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.
Similar questions