Question on variable scope

Good question, there was a thread about this recently which you might find interesting: Why does Python have variable hoisting like Javascript?

1 Like