TypeError 'NoneType' object is not subscriptableThis error is quite self-descriptive: It means that you are trying to subscript (index) the object that actually is None. In the above…Posted on June 17th, 2020Author: Zoran Pandovski
Python dict.key vs dict[key]To get the value from the dictionary the most pythonic way would be to use the square brackets e.g Also, you can use the method e.g So, in…Posted on June 5th, 2020Author: Zoran Pandovski