what is comment in Python explain with example
Answers
Answered by
39
Answer:
Comments are the statement that are added to a program with the purpose of making the code easier to understand. Comments are link that exist in computer program that are ignored by compilers and interpreters. Comment can serve as note to yourself for reminders or they can be written with the intention of other programmers being able to understand what your code is doing.
.
There Are Two Types of Comment in Python.
☞ Single Line Comments
☞ Multi-Line Comments.
Single Line Comments
In Python We Use # Special Character to start the comments.
Multi-Line Comments
To have a multi line comment in Python , we use triple Single Quotas and at the the beginning and at the end of comment.
Answered by
0
Answer:
kxkgtss5xiyiest8zyodyoscog96eoxgv
Similar questions