question on trax

Greg Ewing greg.ewing at canterbury.ac.nz
Wed Aug 18 20:35:49 EDT 2021


On 19/08/21 3:59 am, joseph pareti wrote:
> Another question is on this line:
> z = add((x, y))
> If I code:
> z = add(x, y)
> Then the following exception occurs :
> 
> *Expected input to be a tuple or list; instead got <class 'numpy.ndarray'>.*

What exactly is your question? Does add((x, y)) not do what you
want? If not, you'll have to tell us what you do want.

-- 
Greg


More information about the Python-list mailing list