Hello, the output are the same as expected but i get thus error, please check
Hey @Mohamed_Said1,
Your output is different from the one that is expected. The expected output is [0, 1, 1, 1], and your output is [0, 0, 0, 1]. Please check your implementation once again.
Cheers,
Elemento
Thank you @Elemento . Here is my implementation and the result with the expected output. The output matches but i get some sort of errors. Please have a look
{moderator edit: code removed}
@Mohamed_Said1, please do not post your code on the forum. That’s not allowed by the Code of Conduct.
I have edited your post to remove the code.
You can post any error messages or asserts. Do not post your code.
Thank you.
Hint: You can use np.dot(), or use a for-loop, but you really don’t need to do both.
Thank you for your input.
Sorry for the inconvenience, and thank you for your reminder.

