Comment Comment by maxs I meant to say block scoped. Variables in python have function or global scope but no global scope. E.g. you can say for x in ...: and then use x outside of the loop. parent maxs 5 years ago