Y
Hacker News
new
|
ask
|
show
|
jobs
by
siekmanj
2436 days ago
Python doesn’t really have scope in that way. Variables declared inside an if statement can be accessed outside of the if statement.
1 comments
somebodythere
2436 days ago
Control-flow blocks aren't scoped in most popular programming languages.
link
mlevental
2436 days ago
name one except python
link