How this tour works
Every page has a program on the right. Press Run, or Ctrl+Enter (Cmd+Enter on a Mac), to run it. Change it as much as you like. Reset puts the starting code back.
Some pages are exercises. They have a Check button that runs tests on your code, and a Show solution button for when you are stuck.
Your code runs in your browser, in Pyodide, not on a
server. Almost all of Python works. A few things don't work in a browser tab:
threads, input(), network access and subprocess. The tour shows those in
plain code blocks instead.
After the tour, the Challenges have four tracks: Debugging, Performance, Algorithms and System design. Each has a target time, and interview mode starts a clock and hides the hints.
Run it to see which Python you are on.