help() provides us a built in document system in Python to explain us about the object. We can provide input argument about any specific object and get details about it.
Output is here
Help on built-in function print in module builtins:
print(value, ..., sep=' ', end='\n', file=sys.stdout, flush=False)
Prints the values to a stream, or to sys.stdout by default.
Optional keyword arguments:
file: a file-like object (stream); defaults to the current sys.stdout.
sep: string inserted between values, default a space.
end: string appended after the last value, default a newline.
flush: whether to forcibly flush the stream.
Try other functions.
Help on built-in function dir in module builtins:
dir([object]) -> list of strings
If called without an argument, return the names in the current scope.
Else, return an alphabetized list of names comprising (some of) the attributes
of the given object, and of attributes reachable from it.
If the object supplies a method named __dir__, it will be used; otherwise
the default dir() logic is used and returns:
for a module object: the module's attributes.
for a class object: its attributes, and recursively the attributes
of its bases.
for any other object: its attributes, its class's attributes, and
recursively the attributes of its class's base classes.
Without any argument passed to help() we will get interpreter console and we can input any argument to get the details. We can close the console by entering quit at console.
The console is here.
We can get a list of available modules, keywords, symbols, or topics we can type "modules", "keywords", "symbols", or "topics".
A list of topics ( nearly 73 ) will be displayed. Any topic name can be entered to get details about the topics.
Here is a list of available topics. Enter any topic name to get more help.