xxxxxxxxxx
my_set = {1, 2, 3}
# display help information on a object
print(help(my_set))
xxxxxxxxxx
>>> import math
>>> help(math.tan)
Help on built-in function tan in module math:
tan(x, /)
Return the tangent of x (measured in radians).
xxxxxxxxxx
fruits = ["apple", "banana", "mango", "grapes", "orange", "lansones"]
print(dir(fruits)) # returns list of possible methods we can perform
help(fruits) # description of dir(fruits) list
xxxxxxxxxx
help(fun_name)
// example
help(print) tells everything about print function