Question: error typeerror 'type' object is not subscriptable?
Answer: Because dict is the name of a built-in type in Python you are seeing what appears to be a strange error message, but in reality it is not. ... All types are objects in Python. Thus you are actually trying to index into the type object. This is why the error message says that the "'type' object is not subscriptable."