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 1
Create a markdown cell with a level 2 header that reads "Puzzle 1". Add unformatted text explaining that you will test your
function on the puzzle whose initial state is stored in the file puzzle01.txt, and that you will begin by loading the puzzle
from the file.
Use load_puzzle() to load the contents of puzzle01.txt into a list named puzzle01. Use display_puzzle() 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 puzzle01. If a solution exists, then use
display_puzzle() to print the solution. Otherwise, print the text "No solution exists for this puzzle."
Puzzle 1 Create a markdown cell with a level 2

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!