# File: global04.py # # This time b in test() is local. # Assignment to b in test() does # not affect the value of b # outside. def test() : b = 1 print("Inside test: b = ", b) return b = 303 test() print("b = ", b) ''' Output from the program: Inside test: b = 1 b = 303 '''