Choose your character

It shows in the top bar and on your profile. Change it any time.

Courses / Programming

Python

Plain Python for analysts, practiced in a real notebook.

Start lesson 1Practice interviewTake the assessmentPractice the first unit of every course. No account needed.
72lessons
432checked exercises
13projects, cases and exams
Prepares you for Coding interviews

Projects, case studies and mock exams

Project · IntermediateExpense report from a messy CSV

Turn a hand-edited expense export into a clean March summary by team: duplicates, blank and formatted amounts, two date formats, and a CSV deliverable.

8 steps · 45 min
Case study · IntermediateWhich support channel is fastest

Answer a support lead's question with ticket data: hours to resolve per channel, mean against median, and a recommendation backed by the numbers.

6 steps · 35 min
Project · AdvancedWeb log parser

Turn a raw web access log into error rates per endpoint and per hour: regex parsing, malformed lines, normalized paths and a small report.

8 steps · 50 min
Project · AdvancedBudget tracker

Track a team's spend against its budget with exact money: load JSON and CSV, model transactions as dataclasses, find overspends and print a monthly report.

8 steps · 50 min
Case study · AdvancedLate deliveries from an orders API

Pull every page of an orders API, keep the delivered orders, measure lateness per carrier and say which carrier is late most often.

6 steps · 40 min
Mock exam · ExpertEntry-level certification style

Twelve timed questions in the style of entry-level Python certifications: predict the output, then write small functions.

12 questions · 30 min
Project · ExpertText-analysis tool

Turn free-text survey comments into themes: clean and tokenize, remove stop words, count words and word pairs, tag themes with regular expressions, and pull quotes.

7 steps · 50 min
Case study · ExpertThe March sales drop

Investigate a fall in March revenue: net revenue by month, return rates, prices and missing data, then name the explanation the numbers support.

6 steps · 40 min
Project · ExpertFrom raw exports to a monthly report

Combine two raw exports in different formats into one tested monthly report: encodings, European number formats, date formats, currency conversion, duplicates and a CSV deliverable.

6 steps · 60 min
Mock exam · ExpertAnalyst Python screen

Ten timed tasks in the style of a data analyst's live Python screen: cleaning values, grouping, ranking, joining, dates and outliers.

10 questions · 45 min

Practice the Python that analysts use at work, from your first variable to interview-ready algorithms: cleaning text, adding up and grouping records, reading CSV and JSON files, dates, regular expressions, classes, tests and small functions you can rely on. Every exercise runs real Python in a Jupyter-style notebook in your browser, so the output, errors and tracebacks match what you'll see at work.

Lessons teach one skill with a short example, then give you exercises that start guided and end with a workplace task. Practice lessons mix skills on fresh data, and projects take a messy request from raw input to a finished report. Your code runs on the data you see and on a hidden copy with different values, and a wrong answer gets a specific hint.

The course ends with interview sets and timed mock exams. pandas has its own course.

Interview practice

Explain what you've learned in a full-screen interview. Speak or type, then review your answers against the rubric for your level.

Interview loops by job

Beginner

FreeNo account or card needed. Every lesson in this unit is yours to practice.

Basics

Variables, types, text and numbers: the values every script works with.

5 lessons

Collections

Lists, dictionaries, sets and tuples, and the nested data you get from files and APIs.

6 lessons

Control flow

Decisions, loops and comprehensions, with the patterns analysts write every day.

5 lessons

Functions

Write functions that return values, take options and handle bad input.

4 lessons

Intermediate

Working with data

CSV and JSON files, dates, sorting, counting and grouping, and files in other encodings.

7 lessons

Text and regular expressions

Clean messy text, then find, extract and validate patterns with regular expressions.

4 lessons

Standard library

Modules you already have: imports, itertools, functools, statistics and Decimal for money.

6 lessons

Intermediate projects

Real requests, start to finish: a messy expense export and a support-channel question.

2 lessons

Advanced

Functions in depth

Scope, closures, generators, decorators and recursion.

5 lessons

Classes

Model records and behavior with classes, dataclasses and inheritance.

4 lessons

Reliable code

Read tracebacks, log what happens, test your functions and add type hints.

4 lessons

APIs and projects

Data from APIs, a log parser, a budget tracker and an orders case study.

4 lessons

Expert

Algorithms

Complexity and the patterns coding interviews test: binary search, two pointers, hashing, windows and intervals.

7 lessons

Interview practice

Interview questions by difficulty and timed mock exams.

5 lessons

Capstone projects

End-to-end analyst work: a text-analysis tool, a sales investigation and a reporting pipeline.

4 lessons

Your Work Gym account

Save your progress and pick up on another device. Your browser's progress comes with you.

We'll email you a link. It works once and expires in 15 minutes.

You can keep practicing without an account.