4 ms·
It has nothing to do with the difference between strong and weak typing and also has nothing to do with the difference between weak and strong typing. It is abo
by dexterlemmer 6y ago
It has nothing to do with the difference between strong and weak typing and also has nothing to do with the difference between weak and strong typing. It is about Python not disambiguating between variable shadowing and variable reassignment.
Here's a comment of mine that explains why Python is weakly typed: https://news.ycombinator.com/item?id=26354039 https://news.ycombinator.com/item?id=26354039.