C1_W3_Assignment Help Please

Hi ,

After I tried for a few hours I cannot get this to work. I am stuck.

def layer_sizes(X, Y):

"""
Arguments:
X -- input dataset of shape (input size, number of examples)
Y -- labels of shape (output size, number of examples)

Returns:
n_x = X
n_y -- the size of the output layer
"""
    
n_x = X1.shape[0] 
n_y = Y2.shape[0] 

END CODE HERE

return (n_x, n_y)

The first return is just X not the size!

Hello @James9 and welcome to deeplearning community!
Please send a screenshot of your code and the error message. Your indentation in the above code might be the problem?

Hi,
Thanks to all Problem solved