W2_A2_Ex-5_Type Error due to missing positional argument

Hello ,
Hope you guys doing well
I am getting the following error , could you please assist

First guess is to check for mismatched parenthesis.
Please count them up and be sure they have the correct pairing.

One of the dot() function calls is missing one of its arguments - that points to an incorrect parenthesis in that vicinity.

Thanks for your reply, my next question is- while calculating train_set_x_flatten , why can’t I use this code(without using transpose
train_set_x_flatten=train_set_x_orig.reshape(train_set_x_orig.shape[1] * train_set_x_orig.shape[2] * train_set_x_orig.shape[3],train_set_x_orig.shape[0])

I do not know, I have never tried that.