From fb775d99b755657377d3dd6496a4d1933a047c0a Mon Sep 17 00:00:00 2001 From: Michael Mutote <130656746+mr1Michael@users.noreply.github.com> Date: Wed, 25 Oct 2023 10:47:12 +0200 Subject: [PATCH] 22202956 touch ups --- .idea/misc.xml | 3 +++ Breath-First Search/solution testing.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.idea/misc.xml b/.idea/misc.xml index a971a2c..a6218fe 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,4 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <project version="4"> + <component name="Black"> + <option name="sdkName" value="Python 3.11" /> + </component> <component name="ProjectRootManager" version="2" project-jdk-name="Python 3.11" project-jdk-type="Python SDK" /> </project> \ No newline at end of file diff --git a/Breath-First Search/solution testing.py b/Breath-First Search/solution testing.py index 7b6379e..971dced 100644 --- a/Breath-First Search/solution testing.py +++ b/Breath-First Search/solution testing.py @@ -36,7 +36,7 @@ board = ((False, False, False, False, False, False, False, False, False), sln = (breadth_first_search.BreadthFirstSearch(board, Sucessors.queens_successor, is_goal.is_goal_queens)[-1]) -output_tuple = tuple(tuple("Q" if value else "-" for value in sln) for sln in sln) +output_tuple = tuple(tuple("Q" if value else "." for value in sln) for sln in sln) for rows in output_tuple: print(rows) -- GitLab