Computer Science, asked by Ashwinsanthosh85821, 1 year ago

How do we create multiline comments in Python?

Answers

Answered by anju2730
3

Answer -

As part of the Python course it is taught that in order to do a multiline comment one should use """triple quotes""" . This is wrong. Python only has one way of doing comments and that is using # . Triple quotes are treated as regular strings with the exception that they can span multiple lines.

I hope it help u !

Similar questions