Computer Science, asked by DivyanshuKumarRavi, 3 months ago

why do we use comments in Python programming

Answers

Answered by josnaelsajoseph
3

Answer:

Comments can be used to explain Python code. Comments can be used to make the code more readable. Comments can be used to prevent execution when testing code.

Answered by ItzSpoorthi
5

Explanation:

comment in Python starts with the hash character, # , and extends to the end of the physical line. A hash character within a string value is not seen as a comment, though. To be precise, a comment can be written in three ways - entirely on its own line, next to a statement of code, and as a multi-line comment block.

Hope it helps uuu.....

Similar questions