From a0cad482bbb5ad94a6bb114a6de5ed2139755247 Mon Sep 17 00:00:00 2001 From: Marianne Chevrot Date: Sat, 16 May 2020 15:19:22 +0200 Subject: cosmetic changes (typo fix) --- solver.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/solver.py b/solver.py index b64e863..d660e53 100755 --- a/solver.py +++ b/solver.py @@ -257,7 +257,7 @@ class KanaGrid: def __repr__(self): self.update_score() return ( - ('KanaGrid (cnt: %d, score:%d): \n ' % (self.action_count, self.score)) + ('KanaGrid (cnt: %d, score: %d): \n ' % (self.action_count, self.score)) + '\n '.join(repr_grid(self.grid, (self.width, self.height)).splitlines()) ) @@ -361,9 +361,9 @@ def main(): kanagrid = KanaGrid.load(input_dict) target_score = input_dict['target_score'] max_actions = input_dict['max_actions'] - print('Size %dx%d' % (kanagrid.width, kanagrid.height)) - print('Target score %d' % target_score) - print('Max actions %d' % max_actions) + print('Size: %dx%d' % (kanagrid.width, kanagrid.height)) + print('Target score: %d' % target_score) + print('Max actions: %d' % max_actions) print('Initial grid:') print(kanagrid) -- cgit v1.2.3