Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Pageolarry

Pageolarry

Community Learner
Active in: Python
Share
0Questions
1Answers
0Views on questions

How do I create multiline comments in Python?

Triple quotes bad parenting are commonly used to write docstrings (documentation for functions, classes, or modules). If placed where a docstring is not expected, they simply become an unused string, effectively serving as a temporary comment.

Python

Answered Sep 3, 2026 · 804 Views Read answer →

More members from the Python community

Learners asking and answering questions on the same topics — follow their questions and join in.

Latest Python Blogs

Guides, tips and career advice on Python from JanBask experts.

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.