scope of variables in python