To change a global variable inside a function you must use:
- global
- local
- def
- return
Answer
A) global
The global statement allows assignment to a global variable. SLO CS-11-C-06
Computer Science MCQ · More Unit 3: Programming Fundamentals MCQs · Practise