1

What happens if a local variable exists with the same name as the global variable you want to access?

Correct Answer: the global variable is shadowed

Make the most of this question

This page focuses on one Problem Solving and Python Programming question from Engineering. After checking the answer, return to the topic list to practice more or run a timed set.

Problem Solving and Python Programming MCQ: What happens if a local variable exists with the same name as the global variable you want to access? | Extra Education