How do we create multiline comments in Python?
Answers
Answered by
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
Math,
6 months ago
Science,
6 months ago
English,
1 year ago
Computer Science,
1 year ago
Social Sciences,
1 year ago
Social Sciences,
1 year ago