Computer Science, asked by amanshaikh00987, 8 months ago

What is comment? Which operator is used to write comment in Python? Give example.​

Answers

Answered by sambhavgautam6
11

Comment is uses to display an intro or the thing on which you are making an program .

There are different types of comments in python like :

(1) Single line comment using #

  • for example : #program on operators

(2) Multi line comment using (''' "')

  • for example: '''Python program to print sum of multiple number'''

Note : the comments are not printed in ouput window. they are just for an idea of program ...

Similar questions