The same ideas, now written by hand. The student types Python, one of the most used programming languages in the world, runs it in the Coding Dojo and reads what the computer answers. By the end they can write, read and fix a program of their own.
Your name: Sara
7 x 8 = 56
7 x 8 = 54
7 x 8 = 56
Sara scored 2 out of 3
A program a student writes in this level: variables, a loop and a condition in nine lines.
What Foundation 2 gives a student
A language professionals usePython runs behind artificial intelligence, data analysis and many of the apps people use every day. The student learns it the way developers write it.
PrecisionText code is exact: one missing colon and the program stops. The student learns to write carefully and check their own work.
Reading errors without fearAn error message is information. The student learns to read it, find the line and fix the cause.
Ready for what comes nextGame Development uses GDScript, a language that reads much like Python, so the student arrives already knowing how to write code.
The level at a glance
12 to 16AgesFor students who finished Foundation 1, or who start at this age.
PythonThe language they writeReal text code, typed by hand.
0Programs to installPython runs in the browser, in the Coding Dojo.
Where they learn
One language and one place to write it, with a coach who reads the code.
PythonClear and readable, which is why it is a first language for so many programmers.
Coding DojoThe editor on the CodeSaudi Platform. The student writes, runs and sees the output at once, and practises between sessions.
A coach beside themLive sessions in a small group, with a coach who follows each student's code and progress.
Six steps into Python
Each stage takes an idea the student may know from blocks and writes it in code.
1First lines of PythonPrinting to the screen, and why the order of the lines matters.
2Variables and inputStoring numbers and text, and asking the user a question.
3ConditionsThe program chooses with if and else: a right answer and a wrong one get different replies.
4LoopsRepeating with for and while, and knowing when to stop.
5DebuggingReading an error message, tracing the program line by line and fixing it.
6A program of their ownEverything together in one program the student plans, writes and presents.