Turtle Maze Problems

Problems

  1. Load the appropriate image

  2. Bring the turtle to the maze starting point

  3. Figure out the commands to have your turtle find its way through the maze.

import turtle
turtle.showturtle()
turtle.shape("turtle")
# load the appropriate image
turtle.bgpic('maze1.png')
turtle.penup()
# bring the turtle to the starting point
turtle.goto(-70, 210)
turtle.pendown()
turtle.pencolor("red")
# write your code below



# press enter in the Terminal to exit the program
input()

The link below loads the images into the CS50 Sandbox. It also includes the source code above as maze1.py

http://bit.ly/2UVEq1G

Problem 1

Problem 2

Problem 3

Problem 4

Problem 5

Problem 6

Problem 7

Problem 8

Problem 9

Problem 10

Last updated