def foo():  # foo's defninition
    #------------------------------------foo's local scope starts
    a = "Im a local variable in function foo!" # foo's local variable
    print(a)
    #------------------------------------foo's local scope ends

foo()