##
Y_hat

0.5173733862619162

n_x

1

X.shape[1]

30

AssertionError Traceback (most recent call last)

in

----> 1 Y_hat = forward_propagation(X, parameters)

2

3 print(Y_hat)

in forward_propagation(X, parameters)

36 print (“X.shape[1]”)

37 print (X.shape[1])

—> 38 assert(Y_hat.shape == (n_x, X.shape[1]))

39 return Y_hat

The values if n_x and X.shape[1] is ok, bit the assert function has an error