Ralfiz Academy
Free lesson · Python 0.1

Welcome and how to use this tutorial

From your first print() to classes, generators, decorators, databases and testing. Every example runs right here in your browser: press ▶ Run, change the code, run it again.

About 30 minutesBeginner to job-readyStart here

At a glance

2 min read

From your first print() to classes, generators, decorators, databases and testing. Every example runs right here in your browser: press ▶ Run, change the code, run it again.

How to use this tutorial

1. Read, then run
Every code box has ▶ Run. The first run takes a few seconds while Python loads in your browser.
2. Break things
Click Edit, change the code, run again. Errors are how you learn what Python expects.
3. Do the exercises
Try each one yourself before opening the solution. Then press Mark lesson complete.
Also install Python on your computer: The browser runner is for practice. Real projects run on your machine. Lesson 1.1 shows how to set it up. Some examples (network calls, threads, user input()) are marked "run on your computer".

Course map

1 · Basics → 2 · Data structures → 3 · Functions & modules → 4 · OOP → 5 · Advanced Python → 6 · Real-world Python → Projects

Suggested pace for interns

DayLessonsOutcome
Day 11 – 7 (Basics)Write programs with variables, strings, conditions and loops
Day 28 – 11 (Data structures)Handle real data with lists, dicts and sets; write comprehensions
Day 312 – 16 (Functions, modules, files, errors)Structure code into reusable functions; read and write files safely
Day 417 – 20 (OOP)Model business objects with classes and dataclasses
Day 521 – 26 (Advanced)Generators, decorators, context managers, type hints, regex, concurrency
Day 627 – 30 + ProjectsDates, money, SQLite, APIs, testing; build all 4 projects
Hands-on lab2 steps
Quiz0 exam-style questions with explanations
Practice tests30 and 50-question mocks, scored out of 1000

The lab, quiz and practice tests for this lesson are for enrolled students, with progress saved to your own login.