Python Programming - Debugging - Discussion

Discussion Forum : Debugging - General Questions (Q.No. 13)
13.
What does the Python globals() function provide during debugging?
A list of all global variables
A dictionary of all local variables in the current scope
Information about the call stack
A list of all imported modules
Answer: Option
Explanation:
The globals() function in Python provides a dictionary of all global variables during debugging.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.