Question: Puzzle 1 Create a markdown cell with a level 2 header that reads Puzzle 1 . Add unformatted text explaining that you will test
Puzzle
Create a markdown cell with a level header that reads "Puzzle Add unformatted text explaining that you will test your
function on the puzzle whose initial state is stored in the file puzzletxt and that you will begin by loading the puzzle
from the file.
Use loadpuzzle to load the contents of puzzletxt into a list named puzzle Use displaypuzzle to
print the puzzle.
Add a markdown cell explaining that you will now attempt to find a solution to the puzzle.
Use solve to attempt to find the solution of the puzzle stored in puzzle If a solution exists, then use
displaypuzzle to print the solution. Otherwise, print the text No solution exists for this puzzle."
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
