TypeError: ‘dict’ object is not callable
www.stechies.com › typeerror-dict-object-not-callableFile "nterror.py", line 9, in <module> print (MyDict ( )) TypeError: 'dict' object is not callable. In the above example, we can see that in line 9 of the code i.e print (MyDict ()), we called our dictionary using parenthesis. And thus causing the error, “ TypeError: 'dict' object is not callable ”. Now the question arises why we can’t call the dictionary using parenthesis ( )?