diff --git a/.idea/misc.xml b/.idea/misc.xml index a971a2c93136ccb7f8094a2783d905d33dff9163..a6218fed0aeb0cbb03b46a9064efeeda11861bf6 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 7b6379e671aa9c4f75ec9cfa062ea07f4a131c5c..971dced11355d6d9ff470435a8f18f186486429c 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)