Programming & Software course

Problem Solving with Python

Deconstruct complex problems into clear Python algorithms using search strategies, recursion, and effective debugging techniques.

13 lessonsabout 2 hours in allBeginnerFree

Lessons of 5 to 10 minutes, taught by Milo, your AI tutor. In your browser now; phone apps soon.

By the end you can
  • You can turn written instructions into small Python programs using loops, conditionals, functions, searches, and recursion
  • You can trace recursive calls, reason about shared mutable data, approximate answers, and identify useful boundary test cases
  • You can break down coding tasks and debug functions more deliberately using clear abstractions and test cases

What you'll learn, lesson by lesson

  1. 1What Computation Really MeansTell a fact about an answer from a step-by-step recipe for finding it.
  2. 2From a Plan in Words to PythonTurn a written plan for counting passing scores into a loop with an if inside.
  3. 3Guess and CheckWrite a loop that finds the whole-number cube root of 64 by trying 0, 1, 2 and so on.
  4. That's a preview. 10 more lessons follow.

    Take all 13 lessons free in the Milo app, with Milo teaching each one.

    Start this course free
  5. 4Close Enough: Approximate Answers
  6. 5Bisection Search
  7. 6Decomposition and Abstraction
  8. 7Functions as Values
  9. 8Aliasing, Mutation and Cloning
  10. 9Thinking Recursively
  11. 10Tracing a Recursive Call
  12. 11Recursion on Strings and Lists
  13. 12Remembering Answers with a Dictionary
  14. 13Testing and Debugging on Purpose
Inside the app

Not a video. A tutor who teaches you.

Milo explains each idea of Problem Solving with Python out loud and on the blackboard, checks you understood, and coaches you when you slip. Lessons take 5 to 10 minutes.

Start free
A Milo lesson: Milo explains an idea and draws it on the blackboard
A quick check in a Milo lesson, answered correctly, with Milo's explanation

More in Programming & Software

Free to learn

This course is free. So is Milo's help planning it.

Every course in Milo's library, your growth plan and Milo's weekly check-ins cost nothing. Members, from $5 a month, also get lessons written just for them.

Can I really start for free?
Yes. No card needed.
Can I cancel a membership any time?
Yes, from your account. You keep it until the end of the month you paid for.
Where does it work?
In any browser on a phone, tablet or computer. Phone apps are on the way.