What is comment? Which operator is used to write comment in Python? Give example.
Answers
Answered by
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
Math,
4 months ago
India Languages,
4 months ago
English,
10 months ago
Science,
10 months ago
Math,
1 year ago