Help me in Week1 C3 assignment of Specialization Mathematics for ML and DS by

You posted this in the General Discussions category. Please move it to the right course category as described here and our mentors will be happy to assist you.

Furthermore, sharing your code is not allowed by the community code of conduct. Please remove your code. Sharing your full error is enough (in most cases) to find out the bug in a code.