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

  • (A) list
  • (B) set
  • (C) dictionary
  • (D) tuple
πŸ’¬ Discuss
βœ… Correct Answer: (C) dictionary
Explanation: both the functions, that is, globals() and locals() return value of the data structure dictionary.

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

πŸ’¬ Discussion

πŸ“Š Question Analytics

πŸ‘οΈ
574
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
80%
Success Rate