global_var = 5

def fn():
    print(global_var)
fn()

def fn_2():
    global_var += 2
print(global_var)
fn_2()

def fn_3():
    global global_var
global_var += 2
print(global_var)
fn_3()
variables declared outside function