The help() function is a fundamental tool for obtaining in-depth documentation directly within the Python interpreter
In the Python shell just type:
help()
It can be used to inquire about modules, classes, functions, variables, and keywords.help> True
help> collections
help> builtins
help> modules
help> keywords
help> symbols
help> topics
help> LOOPING
More examples from Python shell:
>>> help('keywords')
>>> help(print)
>>> help(globals)