Computer Science, asked by divij46, 3 months ago

how to print comment in python ,I know the comments can't be executed easily ,but is there any way​

I want comment in output

Answers

Answered by BrainlyProgrammer
2

Answer:

No, it's not possible to print comment.

Comments are un-executable.So, Python does not execute that statement

Comments are used for explaining the code and can also be used to prevent Python from executing that line.

You can give comments using "#" An example is given below

#hello, this is a comment statement.

Similar questions