# Python Chapter 7-Classes #7

**URL:** <https://forum.codewithmosh.com/t/python-chapter-7-classes-7/9089>\
**Category:** Python\
**Created:** [December 8, 2021, 9:54pm UTC](https://forum.codewithmosh.com/t/python-chapter-7-classes-7/9089 "2021-12-08T21:54:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mashidam](https://avatars.discourse-cdn.com/v4/letter/m/8c91f0/32.png) [@mashidam](https://forum.codewithmosh.com/u/mashidam)\
**Post date:** [December 8, 2021, 9:54pm UTC](https://forum.codewithmosh.com/t/python-chapter-7-classes-7/9089/1 "2021-12-08T21:54:52Z")

</div>

Am stack going through your lesson Complete Python Mastery at Chapter7 (Comparing Objects and performing arithmetic operation)  
Below is the error I get  
Any help will be appreciated  
Thanks

 ![Chapter7 #7](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/2X/7/78598dc1578b7fc1b0be25f4d37c130d917f988d.png)

Error Message : combined = point + other  
TypeError: unsupported operand type(s) for +: ‘Point’ and ‘Point’

---

<div class="post-metadata">

**Author:** ![some\_random\_coder](https://avatars.discourse-cdn.com/v4/letter/s/3be4f8/32.png) [@some\_random\_coder](https://forum.codewithmosh.com/u/some_random_coder)\
**Post date:** [December 8, 2021, 11:46pm UTC](https://forum.codewithmosh.com/t/python-chapter-7-classes-7/9089/2 "2021-12-08T23:46:22Z")

</div>

Operation overloading for an add operation is ` __add__ ` not ` __and__ `.

---

<div class="post-metadata">

**Author:** ![mashidam](https://avatars.discourse-cdn.com/v4/letter/m/8c91f0/32.png) [@mashidam](https://forum.codewithmosh.com/u/mashidam)\
**Post date:** [December 9, 2021, 3:33am UTC](https://forum.codewithmosh.com/t/python-chapter-7-classes-7/9089/3 "2021-12-09T03:33:48Z")

</div>

Thanks,  
Its working now
