# scope2.py
# Python has function level (local) scope

# dynamic binding in Python means we can't do this
# func_1(3)

def func_1( a ):
    # scope of a is function level (also called local)
    print( "a", a )
    # scope of i is function level (also called local)
    for i in range( 5 ):
        print( "i", i )
    print( i )
        
func_1( 3 )