# File: global05.py # # But there is no "local" variable # declaration in Python. # def test() : local b # syntax error b = 1 print("Inside test(): b = ", b) return b = 303 test() print("b = ", b) ''' Output from the program: File "global05.py", line 8 local b # syntax error ^ SyntaxError: invalid syntax '''