class Point:
def init(self, x, y):
self.x = x
self.y = y
def draw(self):
print(f"Point ({self.x}, {self.y})")
point = Point(1, 2)
point.draw()
When I run this code it should give me a result as Point (1, 2). For some reason I am getting the below error.
SyntaxError: invalid syntax
Any help please?
