Skip to content
pyPyground
FreePython basics and HTML & CSS

Learn Python from scratch

Short lessons you can practise right away, in English or Indonesian. Write code, run it, and see the result on the same page.

  • 29 free lessons
  • Nothing to install, works on your phone
  • Supported by Trixync
Dictionaries and Sets
1# Add up a shopping trip at the warung
2groceries = {
3 "rice": 14000,
4 "eggs": 28000,
5 "sugar": 17500,
6}
7total = 0
8for item, price in groceries.items():
9 print(f"{item:<6} Rp{price:>7,}")
10 total += price
11print(f"Total Rp{total:>7,}")
Output
py

On Pyground you learn

Building a corner-shop cashier

Stage 1 progress

64%

5-day streak

Your code runs. Nothing to install.

What you'll master

  • Python 3
  • Conditionals
  • Functions
  • OOP
  • Files & JSON
  • pytest
  • Flask
WhyWhy Pyground

Not just watching.
You actually write code.

Every lesson has a short explanation, examples you can run, and a small quiz. Learn by doing, a little at a time.

Runs in your browser

Python runs right on the lesson page. Nothing to install to get started.

Indonesian and English

Familiar examples: the warung, a kos room, ojek fares, report-card grades.

A quiz in every lesson

Three quick questions to make sure you've got it before moving on.

Progress and streaks

Your progress is saved, and a daily streak helps you keep a routine.

DashboardYour learning space

All your progress, in one place

Pick up your last lesson in one click, see your progress in every stage, and keep your daily streak going.

  • Continue where you left off
  • Progress per stage
  • Daily streak
pyPyground
HomeCurriculumProgress

Good morning, Citra

You finished 2 lessons yesterday.

Continue learning

Dictionaries and Sets

Loops and Nested Data

Continue

Streak

6 days

MTWTFSS

Progress per stage

Stage 1 · Foundations100%
Stage 2 · Beginner Core42%
Stage 3 · Intermediate0%
CurriculumSeven stages, three more on the way

From your first print to the web and data analysis

Lessons build on each other, so you always know what comes next.

Stage 1Free

Foundations

Variables, input, strings, conditionals, and a cashier project.

14 lessons + 5 skill checks · ~4 hours

Stage 2Full access

Beginner Core

Loops, lists, dictionaries, functions, and debugging.

21 lessons + 5 skill checks · ~7 hours

Stage 3Full access

Intermediate

Files, OOP, decorators, generators, type hints, and pytest.

30 lessons + 11 skill checks · ~13 hours

Stage 4Free

HTML & CSS

Page structure, forms, selectors, the box model, flexbox, grid, and responsive design.

15 lessons + 5 skill checks · ~6 hours

Stage 5Full access

Advanced HTML & CSS

Tailwind CSS, components, accessibility, modern CSS, and production-ready HTML.

22 lessons + 6 skill checks · ~12 hours

Stage 6Full access

Web with Flask

Routing, templates, forms, databases, login, and deployment.

20 lessons + 7 skill checks · ~10 hours

Stage 7Full access

Data Analysis

pandas, cleaning data, groupby, matplotlib charts, time data, and a warung sales project.

15 lessons + 5 skill checks · ~8 hours

Stage 8Coming soon

SQL

SELECT, filtering, JOINs, GROUP BY, subqueries, and table design with SQLite.

In the works

Stage 9Coming soon

Data Engineering

ETL pipelines, reading CSVs and APIs, data validation, scheduling, and a simple data warehouse.

In the works

Stage 10Coming soon

FastAPI

Endpoints, Pydantic models, validation, databases, authentication, and automatic API docs.

{}

In the works

Stage 3 project

$ python expenses.py
+ 2026-11-20  food      Rp 25,000
+ 2026-11-21  transport Rp 18,000
+ 2026-11-22  kos       Rp 850,000

Total this month: Rp 893,000
Saved to expenses.json
ProjectsLearn by building

Every stage ends with a real project: a corner-shop cashier, a student grade book, and an expense tracker that saves data to a file and is tested with pytest.

Cashier · Grade Book · Expense Tracker

interactive lessons
115
interactive lessons
of material
49 hrs
of material
two languages
ID · EN
two languages
PricingNo auto-renewal

Start free, pay when you're sure

Buy 30 days of access and extend it yourself if you want to keep learning.

QRIS · GoPay · ShopeePay · Bank transfer · Credit card

Free

Rp0forever

To try how learning on Pyground works.

  • All of Stage 1: Foundations (14 lessons + 5 skill checks)
  • All of Stage 4: HTML & CSS (15 lessons + 5 skill checks)
  • Playground and quizzes
  • Progress and streaks saved

Most complete

30-day access

/ 30 days

Every stage, every project.

  • All lessons in every stage, plus new ones
  • Every project and quiz
  • Extend early, unused days carry over
  • Email reminder before access ends
FAQQuestions

Frequently asked questions

I've never coded before. Can I join?

Yes. Stage 1 starts from "what is a program" and uses everyday examples. You don't need a maths or IT background.

Do I need to install Python?

No. Python runs right in your browser. You only install Python in Stage 3, when you learn pip and virtual environments, and there's a guide for it.

Can I learn on my phone?

Yes. Every page is designed for phone screens. For longer code, a laptop is still more comfortable.

Does access renew automatically?

No. Access lasts 30 days from payment. We email you 3 days before and on the day it ends. If you extend early, 30 days are added to the access you have left.

What happens to my progress when access ends?

Your progress stays saved. Stages 1 and 4 stay open, and the other lessons unlock again as soon as you extend.

Is there an English version?

Yes. Every lesson is available in Indonesian and English, and you can switch language at any time.

StartToday

Ready to write your first line of Python?

29 free lessons: Python basics plus HTML & CSS. Sign up with just your email.

main.py · 0.2 s

Total Rp 59,500

Quiz complete

3 out of 3 correct. On to the next lesson.

6-day streak