Home / Engineering / Problem Solving and Python Programming / Question

M

Mr. Dubey • 51.43K Points
Coach

Q.) Which of the following data structures is returned by the functions globals() and locals()?

(A) list
(B) set
(C) dictionary
(D) tuple
Correct answer : Option (C) - dictionary

Explanation:
 both the functions, that is, globals() and locals() return value of the data structure dictionary.

Share

Discusssion

Login to discuss.