Python NuNumpy array

Hello,

I am trying to workout out the numpy exercise , but getting below error .

Can you please help

Hi Ganesh, this error occurred because you have written for i in range(npoints): for j in range(ndim): instead of for i in range(ndim): for j in range(npoints):.

1 Like