NIELIT O Level Exam

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

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

निम्नलिखित में से कौन सा डेटा स्ट्रक्चर फंक्शन ग्लोबल्स () और लोकल लोगों () द्वारा रिटर्न की जाती है?

A. list लिस्ट

B. set सेट

C. dictionary डिक्शनरी

D. tuple टपल




Correct Answer is :

C. dictionary



Explanation
Both the functions, that is, globals() and locals() return value of the data structure dictionary.
CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online Exam Quiz O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Best Website and Software Company in Allahabad Website development Company in Allahabad