Q. What is the usage of help() and dir() functions.
Answer =
help() function help, when it is provided with a program-name or a module-name or a function-name as an argument, it displays the documentation of the argument as help.
The dir() function returns a list of all the attributes within in an object - these could be either data values or methods, and the list includes private and magic methods.
The dir() function returns a list of all the attributes within in an object - these could be either data values or methods, and the list includes private and magic methods.
INCOMPLETE ANSWER
ReplyDeleteSorry , Please check again .
DeletePost a Comment
You can help us by Clicking on ads. ^_^
Please do not send spam comment : )