LEARN BY DOING
Python Lab
Practice Python in your browser. Open a script, try an idea, and check the result.
Tab indents; Shift+Tab unindents. Press Escape, then Tab to leave the editor.
Code is saved automatically in this browser.
For input(), enter one response per line before running. Stop resets Python variables and keeps your code.
Python is loading...