Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Python by (6.1k points)

print(__doc__)

import matplotlib.pyplot as plt

from sklearn import datasets, svm, metrics

from sklearn.model_selection import train_test_split

1 Answer

0 votes
by (11.7k points)

In Python, the print(__doc__) prints the module docstring. If there is no docstring specified, then __doc__ defaults to None.

A docstring is nothing but a string literal which is the very first statement in a module, function, class, or method definition.

Browse Categories

...