Hindi, asked by gujdygjuf, 3 months ago

what is comment in Python explain with example​

Answers

Answered by Anonymous
39

Answer:

\large\mathsf{\underline\purple{Required \: 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.

\large\mathsf{\underline\purple{Type \: Of \: Comments \: In \: Python.}} .

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 fggvuuj
0

Answer:

kxkgtss5xiyiest8zyodyoscog96eoxgv

Similar questions
Math, 1 month ago