Linspace function giving error

Hello,



I am using linspace via below code:



b = np.linspace (1,10,9)



and I'm getting this error- 



TypeError: 'tuple' object is not callable



I am not able to understand from where is the 'tuple' error coming in the linspace function?

Hi Kanika,



Can you please share the code snippet and the stack trace of the error?



Thanks,

Ashish

Thanks Ashish. Actually, I closed the file I was working on and started with this same code in the new file and it worked.