Python help() Function
The Python help() function is used to perform built-in help system to generate information about the specified object.
In the example below, help() function is used to find out the information about iter() function.
The output of the above code will be:
Help on built-in function iter in module builtins: iter(...) iter(iterable) -> iterator iter(callable, sentinel) -> iterator Get an iterator from an object. In the first form, the argument must supply its own iterator, or be a sequence. In the second form, the callable is called until it returns the sentinel.
❮ Python Built-in Functions