# C2\_W1\_Assignment- - Excercise 4

**URL:** <https://community.deeplearning.ai/t/c2-w1-assignment-excercise-4/503476>\
**Category:** Calculus for Machine Learning and Data Science\
**Tags:** week-module-1\
**Created:** [November 25, 2023, 2:57pm UTC](https://community.deeplearning.ai/t/c2-w1-assignment-excercise-4/503476 "2023-11-25T14:57:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Abdullah\_Almotawa](https://avatars.discourse-cdn.com/v4/letter/a/e19b73/32.png) [@Abdullah\_Almotawa](https://community.deeplearning.ai/u/Abdullah_Almotawa)\
**Post date:** [November 25, 2023, 2:57pm UTC](https://community.deeplearning.ai/t/c2-w1-assignment-excercise-4/503476/1 "2023-11-25T14:57:42Z")

</div>

here the code ok and the results same as the expected but when I tested I found this Error

{moderator edit: removed image containing assignment code}

---

<div class="post-metadata">

**Author:** ![TMosh](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/tmosh/32/9321_2.png) [@TMosh](https://community.deeplearning.ai/u/TMosh)\
**Post date:** [November 25, 2023, 4:06pm UTC](https://community.deeplearning.ai/t/c2-w1-assignment-excercise-4/503476/2 "2023-11-25T16:06:15Z")

</div>

Your copy of the notebook is out-of date. There is a newer notebook since about two months ago.

You will also need the new version of the w1\_unittest.py file.

Instructions for updating your notebook are in the “M4ML Resources FAQ” thread. You can find it by using the forum Search tool.

---

<div class="post-metadata">

**Author:** ![TMosh](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/tmosh/32/9321_2.png) [@TMosh](https://community.deeplearning.ai/u/TMosh)\
**Post date:** [November 25, 2023, 4:07pm UTC](https://community.deeplearning.ai/t/c2-w1-assignment-excercise-4/503476/3 "2023-11-25T16:07:08Z")

</div>

Also, in the future, please do not post your code on the forum. That’s not allowed by the Code of Conduct.

If a mentor needs to see your code, we’ll contact you with instructions.

You can post screen capture images that show any error messages or asserts. Those are very helpful.
