Spyder returns TypeError

Viewed 20

I'm learning Python, when trying to create a vector by numpy, the system also returns with TypeError. Please kindly tell me how to correct the mistake. Thanks.

import numpy as np

np.array([1,2,3])

The platform Spyder gave me the result:

TypeError: 'list' object is not callable

0 Answers
Related