diff --git a/square.py b/square.py index ccf4ef6..6439492 100644 --- a/square.py +++ b/square.py @@ -25,7 +25,7 @@ class Square: 6 7 8 """ - grids = [ + grid_mappings = [ (0, 0), # grid 0 (0, 1), # grid 1 (0, 2), # grid 2 @@ -40,7 +40,7 @@ class Square: grid_coordinates = (self.line // 3, self.column // 3) grid_number = 0 - while grids[grid_number] != grid_coordinates: + while grid_mappings[grid_number] != grid_coordinates: grid_number += 1 if grid_number == 9: