
Python
Masterclass
The Python Masterclass is a course for upper primary and secondary school students (aged 11 and above) who are keen to explore beyond the basics of coding. This course is designed to give students a jump-start in their learning journey with the view of equipping them with all they need for self-directed learning.
Problem solving and mathematical concepts are core features of the curriculum, as there are numerous opportunities to apply these concepts when coding.
Course Details
Suitable for Ages 11 - 16
Platform: Python, Google Colab
1.5-hr sessions on a weekly schedule
Class Size of 8 (1:3 teacher student ratio)
Certificates issued on passing of each module
Challenge yourself, learn a real coding language.
While a drag-and-drop interface is great for children to learn logic, it will never replace text-based coding.

Reinforce Mathematical Concepts.
Learning to code improve abstract reasoning, the foundation of mathematics.

Coding requires application of math
Apply math concepts in an environment that encourages understanding through experimentation.

Coding and math are related
Both math and coding take what we see everyday and create abstract models of reality.
Learn to code - one step at a time.
Similar to learning a foreign language, learning to code does not happen a 2-day course. It happens over time through constant reinforcement and application.
8
Fundamental Modules
Progressive Course Structure
Certificate on passing each module

Stay ahead, learn Python.
Python is not only the easiest coding language to read and learn, it is also the most widely used in data science.
1
Python Foundation
12 weeks of 1.5 hours
Python foundation provides a basic overview of syntax, if/else and loops. This helps provide context for the 8 modules where we explore topics in greater depth.
2
Modules 1 - 8
12 weeks per module
1.5 hours each week
There will be an open-laptop assessment after each module. Students who pass will receive a certificate.
Module 1: Syntax
Variable names, data types, arithmetic operators, block diagram notation
Module 2: For Loops
For loops, range, indentation rules
Module 3: If-Else
Comparison operators, if, else-if, cases
Module 4: Lists
Lists, calling, slicing, string slicing
Module 5: While Loops
While loops, loop counters, infinite loops
Module 6: Function
Defining functions, function variables, function inputs, function return
Module 7: Nested If-Else
2-layered statements, 3-layered statements, indentation rules
Module 8: Libraries
Math library, graphing (matplotlib)
Interactive Math Related Python Examples
Press the play icon to run your code. The output will be giving on the right hand panel.
You can modify the code and experience what learning Python is like!
Note: This is best viewed on a desktop. To reset the examples, navigate to the top left hand menu. Have Fun!
Multiplication Tables
Python can be used to create multiplication tables through applying loops. Loops are used to repeat certain segments of code and are a core feature of any programming language.
Challenge: Modify the below code to show multiples of 8 instead of 5
Exam Grading
We use conditionals (if-else statements) everywhere in our daily lives. A familiar example would be school subject grading. Click the right hand panel, enter your score and hit the enter key to know your grade
Challenge: Try adding more conditions to the list
2019 PSLE Triangle Problem
Math and coding are intricately linked. We can use Python to solve challenging problems such as the PSLE Triangle Problem. Where students are challenged to find the percentage of grey triangles in the 250th figure of the below pattern.
Given below are the first 3 figures of the pattern.
Challenge: Modify the code to find the percentage of grey triangle to total triangles in the 2500th figure.