Think Computationally with Python

How to Think about Solving a Maze you own this product

This project is part of the liveProject series Think Computationally with Five Small Python Projects
beginner Python • basics of data structures, branching constructs, and looping structures
skills learned
implementing a wall-following algorithm • testing and debugging code • appropriate data structures • understanding algorithms, including edge cases
Ana Bell
1 week · 3-5 hours per week · BEGINNER

pro $24.99 per month

  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose one free eBook per month to keep
  • exclusive 50% discount on all purchases

lite $19.99 per month

  • access to all Manning books, including MEAPs!


5, 10 or 20 seats+ for your team - learn more

Look inside

In this quick liveProject, you’ll design and implement an algorithm to solve a simple maze, revealing a path to the exit.

This project is designed for learning purposes and is not a complete, production-ready application or solution.

book and video resources

When you start your liveProject, you get full access to the following books and videos for 90 days.

project author

Ana Bell
Dr. Ana Bell is a lecturer at the Massachusetts Institute of Technology in the Electrical Engineering and Computer Science department. She has co-lectured two introductory computer science courses in Python for the past five years. She was first introduced to Python in graduate school at Princeton University, where she started using it to parse and reformat large files in her research and found it to be an intuitive language to learn and use. Since then, she's used it for work and personal tasks, and most recently started tinkering with various data science libraries.


These liveProjects are for beginner Python programmers with a basic mastery of the language, and an understanding of common Python libraries. To begin these liveProjects, you will need to be familiar with the following:

  • Basics of Python
  • Basics of pandas
  • Basic data structures and algorithms
  • Recursive functions

you will learn

In these liveProjects, you’ll learn important Python skills that will take you from a beginner to an intermediate programmer. These skills are an excellent foundation for data science, app development, and scripting.

  • Common Python libraries
  • MIMEMultipart messages
  • Simulating probability with random libraries
  • Creating a UI window, canvas, and adding and manipulating objects
  • Brute-force solutions
  • Dealing with missing or bad data
  • Plotting columns in a data frame


You choose the schedule and decide how much time to invest as you build your project.
Project roadmap
Each project is divided into several achievable steps.
Get Help
While within the liveProject platform, get help from other participants and our expert mentors.
Compare with others
For each step, compare your deliverable to the solutions by the author and other participants.
book resources
Get full access to select books for 90 days. Permanent access to excerpts from Manning products are also included, as well as references to other resources.

choose your plan


only $41.67 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • How to Think about Solving a Maze project for free