dir ( ) built in function monitors the item in the name space of the main module. try or false
Answers
Answered by
1
Answer:
The class of something is simply its type. The dir function effectively shows you all the methods and attributes associated with the instance. That is NOT the same as all the methods and attributes associated with the underlying type, as you may have added more attributes in run time.
Similar questions