Paste your homework.Keep thinking.
Paste any assignment, or ask for a topic like inheritance to get a fresh practice problem. Moth coaches you checkpoint by checkpoint and never hands you the answer.
- ✓Walk the list with two pointers
- ✓Save next before relinking
- Advance prev and curr
- Return the new head
- recursion
- linked lists
- inheritance
- trees
- higher-order functions
- iterators
- generators
- dictionaries
- mutation
- list comprehensions
- classes
- closures
How it works
From problem set to done, one checkpoint at a time.
- 01assignment · topic · pdf
Paste it in
Drop in a full assignment, type a topic like "linked list practice", or upload a past exam PDF and get a similar problem to work on.
- 02one tab per problem
Get it broken down
Moth pulls each problem into its own tab and lays out checkpoints, so you always know what the next small step is.
- 03feedback per line
Write it yourself
As you type, the line helper reads the line you are on and nudges you with a question, never with the finished code.
- 04python · pyodide
Run the doctests
Python runs right in your browser through Pyodide, so you can check your work against the doctests without installing anything.
Everything you need to get unstuck, nothing that does it for you.
value come from? Look at what the loop on line 7 actually names each item.A line helper that reads over your shoulder
Feedback lands next to the line you are writing. Set it to full, bottom bar only, or off when you want to go quiet.
Doctests in your browser
Python runs locally through Pyodide. Nothing to install.
A reference sheet for this problem
The syntax you actually need here, with short examples, one tab away.
Practice from past exams
Upload an old exam and moth writes a new problem in the same shape, so you practice the skill and not the answer key.
Hints, never solutions
Moth is built to coach. It points at the gap in your reasoning and leaves the code to you.
The principle
Most AI tools hand you the answer and the learning walks out the door. Moth asks the next question instead, so the thinking stays yours.