MCQ Answer

Which of the following is a feature of DocString?

Which of the following is a feature of DocString?

निम्नलिखित में से कौन सी DocString की एक विशेषता है ?
Topic : Introduction to Python

A. Provide a convenient way of associating documentation with Python modules, functions, classes, and methods. पायथन मॉड्यूल, फंक्शनो, क्लॉसो और मेथेडो के साथ डाक्यूमेन्टेशन को जोड़ने का एक सुविधाजनक तरीका प्रदान करता है।

B. All functions should have a docstring. सभी फंक्शनो में एक डॉकस्ट्रिंग होना चाहिए

C. Docstrings can be accessed by the ___doc_attribute on objects. Docstrings को ऑब्जेक्ट पर __doc__ ऐट्रीब्यूट द्वारा एक्सेस किया जा सकता है।

D. All of the mentioned. उल्लिखित सभी




Correct Answer is :

D. All of the mentioned.



Latest Current Affairs 2025 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2025 Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Sarkari Exam Quiz