Computer Science, asked by DEVILNIKHIL, 9 months ago

what is the purpose of adding a comment in the program? what are the two ways used to add the comments in python​

Answers

Answered by FsG11AJ
41

Answer:

to make programs understand able we usually add comments

like in java we add comment like this //* *//

and in python -- -- "" ""

Answered by Anonymous
29

Comments are used to make the code more readable.

Two ways of adding comment in Python:

- using the hashtag

e.x., # This is a comment

- using \* *\ for multiple lines

e.x., /* This is a multi

line comment */

Similar questions