Computer Science, asked by tanishka2846, 7 months ago

What are comments? How are they written in Python?​

Answers

Answered by radheshyam6441
7

Answer:

A comment in Python starts with the hash character, # , and extends to the end of the physical line. A hash character within a string value is not seen as a comment, though. To be precise, a comment can be written in three ways - entirely on its own line, next to a statement of code, and as a multi-line comment block.

Answered by madhurkumar
2

these are statements in a script that are ignored by the Python interpreter and therefore have no effect on the actual output of the code comments make the code more readable and understandable for human beings a comment in Python starts with#

please mark as Brainliest and follow me please

Similar questions