Update board.py to make Python 3.x compatible
Replaced xrange with range.
This commit is contained in:
@@ -17,8 +17,8 @@ class Board:
|
|||||||
|
|
||||||
def __generate(self):
|
def __generate(self):
|
||||||
self.COORDINATES = [
|
self.COORDINATES = [
|
||||||
[0 for x in xrange(self.COLUMNS)]
|
[0 for x in range(self.COLUMNS)]
|
||||||
for y in xrange(self.ROWS)
|
for y in range(self.ROWS)
|
||||||
]
|
]
|
||||||
|
|
||||||
def columns(self):
|
def columns(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user