// tech tips · beginner
How to Practise Coding Effectively: A Beginner's Plan
A practical plan for learning to code as a beginner. How long to practise, how to avoid tutorial hell, what to do when you're stuck, and a four-week Python practice schedule.
Most beginners don’t struggle because coding is too hard. They struggle because they practise in ways that feel productive but don’t build skill, such as watching hours of tutorials without writing much code themselves. This guide is a practical plan for practising in a way that actually sticks, with a four-week schedule you can start today.
Short and often beats long and rare
Twenty to thirty minutes a day, five days a week, will take you much further than one five-hour session on a Sunday. Your brain consolidates what you’ve learned between sessions, and coming back to an idea the next day is exactly what makes it stick.
Make it easy to start:
- pick a regular time, such as straight after school or before dinner;
- keep your project folder and VS Code ready to open;
- stop each session at a point where you know what to do next, so tomorrow starts quickly.
Escape “tutorial hell”
Tutorial hell is when you can follow along with a video perfectly, but freeze when faced with a blank file. It happens because following someone else’s steps uses a different skill from solving a problem yourself.
The fix is a simple rule: for every tutorial, build something on your own.
- Watch or read the lesson once, without coding along.
- Type it yourself from memory, only peeking when you’re truly stuck. Never copy and paste.
- Change it. Add a feature, use different data, or combine it with something you learned last week.
- Break it on purpose and read the error message. Knowing what an error looks like makes it far less scary when it happens for real (see How to Read Error Messages).
Every guide on CodeRunner ends with a “Try it yourself” challenge for exactly this reason.
Use the 20-minute rule when you’re stuck
Being stuck is a normal, unavoidable part of programming, and wrestling with a problem is where most of the learning happens. But being stuck for hours is just discouraging. A good balance:
- Try for 20 minutes on your own. Re-read the error, add
print()lines to check your values, and explain the code out loud. - Then search the exact error message or describe the problem in a few words.
- Then ask someone. Include what you’re trying to do, the code, the full error, and what you’ve already tried. Writing that out often solves it before you even send it.
If you use an AI assistant for help, ask it to explain the problem or give you a hint rather than writing the answer for you. Then type the fix yourself, so the understanding ends up in your head and not just in the file.
Build tiny projects
Projects are where separate skills join up. They don’t need to be impressive; they need to be finished. Good first projects:
| Project | Skills it practises |
|---|---|
| Tip or unit converter | input, numbers, f-strings |
| Number-guessing game | loops, conditions, random |
| Shopping or to-do list | lists, functions, files |
| Quiz game | dictionaries, validation, scoring |
| Word counter for a text file | strings, dictionaries, files |
| Simple password generator | modules, strings, loops |
Our step-by-step projects, the to-do list app and the quiz game, are good places to start. Then try one from the table with no instructions at all.
Test yourself, don’t just re-read
Re-reading notes feels comfortable, but it’s one of the least effective ways to learn. Testing yourself is far better, because each time you pull an answer out of your memory, it gets easier to recall next time. Try:
- predicting what a piece of code will print before running it;
- rewriting a program from a previous week from scratch;
- quizzes such as PyQuest, which explains every answer, including the ones you get right.
Keep a learning log
Keep a simple text file or notebook and write down one line per session: what you learned, and one thing that confused you. It takes a minute, and it gives you a list of topics to revisit, plus a record of progress for days when it feels like you’re not improving. You are.
Once you’ve learned Git, committing your practice code every day does the same job and builds a good habit at the same time.
A four-week Python practice plan
Around 30 minutes a day, five days a week. Each link is the guide to read first.
Week 1: the basics
- Day 1: install Python and write your first program (guide)
- Day 2: variables, types and f-strings (guide)
- Day 3: operators and maths (guide); build the pizza calculator
- Day 4–5: if statements and loops (guide); build the number-guessing game
Week 2: organising code
- Day 1–2: functions (guide); rewrite last week’s programs using functions
- Day 3: strings (guide); build the username generator
- Day 4: lists (guide); build the shopping list
- Day 5: tuples and sets (guide)
Week 3: working with data
- Day 1–2: dictionaries (guide); build the word counter
- Day 3: errors and
try/except(guide) - Day 4: files (guide); make the shopping list save itself
- Day 5: CSV files (guide); build the grade report
Week 4: projects
- Day 1: classes and objects (guide); build the RPG battle
- Day 2–3: build the to-do list app, then add one extension of your own
- Day 4–5: build the quiz game with your own questions, and share it with a friend
Keep the Python Cheat Sheet open as you go. Fell behind? That’s fine. Just pick up where you stopped. Consistency matters more than speed.
Key points
- Practise for short sessions, most days.
- After every tutorial, build or change something on your own.
- Try for 20 minutes before asking for help, and ask for explanations rather than answers.
- Finish small projects; they connect everything you’ve learned.
- Test yourself instead of re-reading, and keep a short learning log.