top | item 21236085

(no title)

siekmanj | 6 years ago

Python doesn’t really have scope in that way. Variables declared inside an if statement can be accessed outside of the if statement.

discuss

order

somebodythere|6 years ago

Control-flow blocks aren't scoped in most popular programming languages.

mlevental|6 years ago

name one except python