Print Python Built-In Function Documentation

Question:
Write a program to print some Python built-in functions documents, such as abs(), int(), raw_input(). The built-in document method is __doc__.

Program:

Explanation:

Python documentation strings (or docstrings) provide a convenient way of associating  documentation  with  Python  modules, functions, classes, and methods. An object’s docsting is defined by including a string constant as the first statement in the object’s definition

Output:

Do share your feedback in comments to help us adding more programs like this.

Checkout more Python Programs

Click here

Leave a Reply

bodrum escort - eskişehir esc - mersin escort - mersin escort bayan - mersin esc