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
Physics,
4 months ago
Science,
4 months ago
Social Sciences,
4 months ago
Science,
8 months ago
Math,
1 year ago