Vidyalelo
Python · Q16

Formatting and Decorators

Programming · Python · question 16

Q16

In Python, what is the purpose of the locals() function?

A.
Access local variables
B.
Import external modules
C.
Define instance methods
Answer
D.
Create function aliases

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board