# Exercise 2 error

**URL:** <https://community.deeplearning.ai/t/exercise-2-error/522822>\
**Category:** Calculus for Machine Learning and Data Science\
**Tags:** week-module-1\
**Created:** [December 20, 2023, 12:17am UTC](https://community.deeplearning.ai/t/exercise-2-error/522822 "2023-12-20T00:17:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![shahd\_abdelrhman](https://avatars.discourse-cdn.com/v4/letter/s/bb73d2/32.png) [@shahd\_abdelrhman](https://community.deeplearning.ai/u/shahd_abdelrhman)\
**Post date:** [December 20, 2023, 12:17am UTC](https://community.deeplearning.ai/t/exercise-2-error/522822/1 "2023-12-20T00:17:19Z")

</div>

w1\_unittest.test\_f\_of\_omega(f\_of\_omega)  
TypeError: f\_of\_omega() takes 1 positional argument but 3 were given

---

<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:** [December 20, 2023, 4:33am UTC](https://community.deeplearning.ai/t/exercise-2-error/522822/2 "2023-12-20T04:33:34Z")

</div>

See your other thread where you posted a similar error message. i answered there. It’s the same problem.

Closing this thread.

---

<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:** [December 20, 2023, 4:33am UTC](https://community.deeplearning.ai/t/exercise-2-error/522822/3 "2023-12-20T04:33:37Z")

</div>


