Skip to content

Level 00 — Absolute Beginner

Home: README

Estimated time: ~5 hours

Who this is for

You have never written a line of code in your life. You may not know what a "terminal" is. That is completely fine. This level will get you there.

What you will learn

  • How to open Python and type commands
  • What variables, numbers, and text (strings) are
  • How to make decisions in code (if/else)
  • How to repeat things (loops)
  • How to organize code (functions)
  • How to read a file

Before you start

  1. Complete 00_COMPUTER_LITERACY_PRIMER.md if you have never used a terminal.
  2. Complete 03_SETUP_ALL_PLATFORMS.md to install Python.
  3. Confirm python --version works in your terminal.

Exercises (do them in order)

How to work through each exercise

  1. Read the .py file — every line has a comment explaining what it does
  2. Run it — python exercise.py and see what happens
  3. Change something small and run again
  4. Try the challenges in TRY_THIS.md
  5. Move on when you can explain what the code does without reading the comments

Try in your browser (no install needed)

Want to try Python before installing anything? Run these exercises directly in your browser:

Open Browser Exercises

Uses Pyodide to run real Python in your browser with a code editor and output panel.

Important

  • There are no tests at this level. Just run and observe.
  • There is no wrong way to experiment. Break things. That is how you learn.
  • If something does not work, read the error message. It usually tells you exactly what went wrong.
  • You do not need to memorize anything. You need to understand the pattern.

When you are done

You are ready for Level 0 when you can: - Create a .py file from scratch - Use variables, a loop, and a function in the same script - Read a simple error message and fix the problem - Explain what your code does in plain English


← Prev Home Next →