global_a = 1 def func_a(): local_a = 0 print(global_a) print(local_a) func_a() print(global_a) print(local_a)