Which of the following is the correct method for changing a global variable inside a function?
Correct Answer: def change_globvar(): global globvar globvar = 1
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More Python MCQ Questions