Pebwise
Python for complete beginners

Learn Python on your phone.

Short lessons with three small companions. You write and run real code, one line at a time.

Coming soon to Google PlayFirst chapters free
hello.py

Tap to run real PythonRun loads Python into this page, about 7 MB.

Try a lesson

Two steps from the first chapter of the course. No account, nothing to install.

Put in order

Put the steps for making toast in order.

Slide the steps along the thread.

Meet the three

Three small companions go through the course with you. Tap one to hear from it.

  • Small steps are still steps.

    Peb

    A pebble with a notebook

    Explains each step and gives feedback in your lessons.

  • Knot bad at all.

    Purl

    A spool of thread

    Waits at your next lesson and keeps your rhythm.

  • Python counts from 0.

    Folio

    A folded-paper gecko

    Brings facts, hints and glossary cards.

The path

Six sections take you from your first line to real programs. Every sample below is real Python, shown with its real output.

Never coded? A short chapter without typing comes first.

  1. First steps

    6 chapters · 38 lessons

    Print text, keep values in variables, do sums and ask for input.

    name = "Peb"
    print("Hello, " + name + "!")

    OutputHello, Peb!

  2. Decisions and repetition

    8 chapters · 54 lessons

    Let a program choose with if and repeat with loops over lists.

    for day in ["Mon", "Tue"]:
        print(day)

    OutputMon Tue

  3. Building blocks

    8 chapters · 54 lessons

    Write your own functions and keep data in dictionaries, tuples and sets.

    def double(n):
        return n * 2
    
    print(double(21))

    Output42

  4. Real programs

    8 chapters · 52 lessons

    Read and write files, handle errors and hunt bugs.

    import json
    note = json.loads('{"tea": 2}')
    print(note["tea"])

    Output2

  5. Thinking in objects

    8 chapters · 51 lessons

    Build classes whose objects carry their own data and behavior.

    class Pebble:
        def greet(self):
            return "Hi, I am Peb"
    
    print(Pebble().greet())

    OutputHi, I am Peb

  6. Structures and algorithms

    8 chapters · 50 lessons

    Stacks, queues, trees, recursion, sorting and searching.

    print(sorted([3, 1, 2]))

    Output[1, 2, 3]

The course goes on after these six, with 12 more sections.

First chapters free

You start without paying. Plus opens the rest of the course when you want it.

Free

  • The first chapters, complete
  • The three companions and your rhythm
  • No ads

Plus Subscription

  • Every chapter after the free ones
  • Private boards that you create
  • Wardrobe sets only for Plus

The price and any trial are shown in the app before you buy.

Plus never buys an advantage on the boards, and it has no ads either.

Questions

Do I need to have coded before?

No. The app asks one question at the start. If you have never coded, you begin with a short chapter without typing. If you know some Python, a short quiz finds the chapter to start at.

Is it real Python?

Yes. Code exercises run real Python on your phone. Other exercises are taps, ordering and matching, without code to run.

What does it cost?

The first chapters are free. Plus is a subscription that opens the rest of the course. The price and any trial are shown in the app before you buy.

Are there ads?

No. Pebwise has no ads, in the free chapters or in Plus.

Do I get a certificate?

No. Pebwise has no exams, tutors or certificates, and it promises no job or income. It teaches you to read and write Python.

Who is it for?

Adults aged 18 or over, from people who have never coded to people who know a little Python.

Which phones does it run on?

Android phones, through Google Play.

Your first line of Python is waiting.

Pebwise is not in the store yet. When it is, you answer a few questions and Purl takes you to the right first lesson.

Coming soon to Google Play