Q. Which of the following is a feature of Python DocString?

  • (A) In Python all functions should have a docstring
  • (B) Docstrings can be accessed by the __doc__ attribute on objects
  • (C) It provides a convenient way of associating documentation with Python modules, functions, classes, and methods
  • (D) All of the mentioned
πŸ’¬ Discuss
βœ… Correct Answer: (D) All of the mentioned

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
238
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Praveen Singh
Publisher
πŸ“ˆ
96%
Success Rate