I was suggested to review my parameters function which should be a dictionary but I checked it and my parameters function is a dictionary as shown below:
Yes, you replied that my parameters are not a dictionary but they are a dictionary âŚI ran type on it and it is a âdicâ as I showed you in this new topic.
I passed the assignment but I want to know where is my error just to learn.
You put the check after the definition of a function, which means that, when you run that code cell, Python does two things: (1) it defines the function without running the function; (2) it prints the type of the parameters stored in the memory. Note that for (2), we donât know which parameters it is and it could be just a parameters that was defined for one of our earlier tests, such as the following for exercise 6:
Therefore, your check isnât conclusive as to why you got that error, but now that you have passed the assignment, I wonder if you were still able to reproduce the error for investigationâŚ