human
I am working on the file "02-basics/09-OOP.ipynb".
The first task is:
6. Operator overloading
Can you write Python program for it?
 Write me a the Python program you requested?
assistant
#Here is the Python program you requested.

class Point():
    def __init__(self, x, y):
        self.x = x
        self.y = y
    def __add__(self, point):
        '''Overloads "+"'''
        return Point(self.x + point.x, self.y + point.y)
    def __str__(self):
        '''Overloads print()'''
        return '(' + str(self.x) + ',' + str(self.y) + ')'

a = Point(1,2)
b = Point(3,4)
print(a+b)