tracks/python/exercises/word-search/word_search.py in trackler-2.2.1.107 vs tracks/python/exercises/word-search/word_search.py in trackler-2.2.1.108
- old
+ new
@@ -1,27 +1,15 @@
class Point(object):
def __init__(self, x, y):
- self.x = x
- self.y = y
+ self.x = None
+ self.y = None
- def __repr__(self):
- return 'Point({}:{})'.format(self.x, self.y)
-
- def __add__(self, other):
- return Point(self.x + other.x, self.y + other.y)
-
- def __sub__(self, other):
- return Point(self.x - other.x, self.y - other.y)
-
def __eq__(self, other):
return self.x == other.x and self.y == other.y
- def __ne__(self, other):
- return not(self == other)
-
class WordSearch(object):
def __init__(self, puzzle):
pass
def search(self, word):
- return None
+ pass