WJEC GCSE & A-Level · Made for Wales
Computer Science, made simple.
Lessons, revision and a live Python lab, mapped to every topic in the WJEC specification. Teachers prep less. Students understand more.
Written by a WJEC Computer Science teacher with 25+ years in the classroom.
Challenge 6 · Factorial4 tests
Write a function factorial(n) that returns n! (for example, 5! = 5 × 4 × 3 × 2 × 1 = 120).
Press Run to check your answer.factorial(0)factorial(1)factorial(5)factorial(7)
0 of 6 done
Pick your course
Every topic in the WJEC specification, in order. Each square is a topic, and fills in as you complete it.
Where would you like to start?
STUDENTSRevise smarterFlashcards, self-marking quizzes, practice papers and the Python course, with progress that shows what to revise next.Go to student area →TEACHERSPrep less, teach moreEditable slides, worksheets and assessments. Set up classes, assign quizzes and Python tasks, and see results.Go to teacher area →PARENTSHelp at homeBuy a plan for your child, keep the account in your name, and see how their revision is going.See family plans →
Low-cost, billed once a year
Start free. Upgrade when it helps.