TypeError: object is not callable | While creating a dictionary

18 Views Asked by At

While trying to create a dictionary using : dict(name = "John", age = 36, country = "Norway") (just an example but very similar). Editor keeps returning the Error message: object is not callable ! The syntax as I checked repeatedly is correct, I suspect that this is related maybe to my compiler (I'm using Spyder/Anaconda)!! Does anyone know how to overcome this ?

I tried to create a dictionary using dict()

0

There are 0 best solutions below