Week 8: Comparing performance of numpy

I am not well versed with python programming. My doubt may look silly.

When we create
’ list_=list(range(N)) ’ using spyder it is giving TypeError: ‘list’ object is not callable

The same syntax is working in google colab. Why so?

Hi @swasthimathi,
I’m not much familiar with spyder, but restarting the runtime environment for the IDE might work, as a few of the times I’ve also encountered the same problem in Jupyter.

You can take this link as a reference:

“Spyder and Jupyter: difference with error “TypeError: ‘list’ object cannot be interpreted as an integer” - Stack Overflow” https://stackoverflow.com/questions/56160565/spyder-and-jupyter-difference-with-error-typeerror-list-object-cannot-be-in