def scopeTest4():
    try:
        return d
        d = 1
    except UnboundLocalError as e:
        return repr(e)
def scopeTest4():
    try:
        return d
        d = 1
    except UnboundLocalError as e:
        return repr(e)