Python Programming - Debugging - Discussion

Discussion Forum : Debugging - General Questions (Q.No. 9)
9.
What does the Python __debug__ variable control during program execution?
It enables or disables debugging globally
It determines whether assertions are executed or ignored
It checks if the Python interpreter is in debug mode
It sets the verbosity level of debugging output
Answer: Option
Explanation:
The __debug__ variable in Python controls whether assertions are executed or ignored. If it is True, assertions are executed; if False, they are ignored.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.