Typre

Python typing practice

Typre is a free typing trainer for programmers. Instead of prose, you type real Python — brackets, operators and indentation included — and it measures WPM, accuracy, raw speed and consistency on every run.

Start typing Python

What slows you down in Python

No braces means indentation is load-bearing — a wrong space count is a real bug, not a style nit. Colons end almost every block header, and f-strings mix quotes with { } inside a single token.

What the snippets cover

Comprehensions, decorators, dataclasses, context managers, f-strings, type hints, async def with await, and the standard-library calls that appear in every script — pathlib, json, collections.

Snippets you will actually type

Three of the 61 short Python snippets, exactly as they appear in the app:

def add(a, b):
    return a + b
evens = [n for n in numbers if n % 2 == 0]
for key, value in data.items():
    print(key, value)

How it works

Pick 15, 30 or 60 seconds. Snippets are served in shuffled order, so you never repeat one before finishing a full round — even across page reloads. Sign in to put scores on the leaderboard, race a friend on the same snippet in real time, or paste code from your own project. None of it is required: open the page and start typing.

Other languages