Computer Science, asked by batraseema74, 11 months ago

why are comments used in a program in Python programming​

Answers

Answered by Anonymous
1

Answer:

Explanation:

Lets first understand the need of comments in Python or in any programming language. A comment is text that doesn't affect the outcome of a code, it is just a piece of text to let someone know what you have done in a program or what is being done in a block of code.

Answered by charlie1505
0

Answer:

comments are used in every programming language not only in python.

Basically comments helpful for understanding the code in better way. Mostly when code is pretty large, some times we don't understand what is the meaning of some statements.... so to avoid this software engineer uses the comments

Similar questions