Python Programming - Variables - Discussion
Discussion Forum : Variables - General Questions (Q.No. 23)
23.
Which of the following is true about global variables?
Answer: Option
Explanation:
Global variables are defined outside of any function, and can be accessed and modified from anywhere in the code.
However, it's generally not recommended to use global variables extensively, as they can make the code harder to understand and debug.
Discussion:
Be the first person to comment on this question !
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers