Q116
What does the dir() function in Python do?
A.
It returns a list of names in the current namespace
AnswerB.
It returns the contents of a directory
C.
It defines a new class
D.
It is used to import modules
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board