How to comment multiple lines in python?



How to comment multiple lines in python?..

Answer / Syed Suhail Alam

In Python, you can use triple quotes (''' or """) to create multi-line comments.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Python Interview Questions

What is the directory in python?

1 Answers  


Is python object oriented?

1 Answers  


What is abs in python?

1 Answers  


What is the result of pow(x,y)?

1 Answers  


What is set function in python?

1 Answers  


Can I create apps with python?

1 Answers  


Why do we want to use break statement in while-loop?

1 Answers  


What is raise keyword do in python exception handling?

1 Answers  


How do you sort in python?

1 Answers  


What are args and kwargs in Python?

1 Answers  


What is the sleeping time of giraffe?

1 Answers  


What are the literals in Python?

5 Answers  


Categories