|
|
|
|
|
by jmconfuzeus
1342 days ago
|
|
Technically, it makes sense for Python to work like this because your functions are being bound to a variable i which is located in the global scope. I wouldn't call this a design mistake but more of a misunderstanding of how scope works. |
|