Python Level 3 Course Material

These slides and the video capture the key ideas that are covered in the class. These are designed to be self-contained. We strongly recommend that parents and students review these slides/video and try out the small code snippets before and while attempting the independent activity for the class.

Submit your projects here


Class 1 – Introduction

Class Material and Notes

Class Notes

Independent Activity

Get your Replit account up and running
Get familiar with the recent REPLIT changes (since Aug 2024)
Revise the Level 1 and Level 2 Projects

Important Info Related to REPLIT platform changes (since Aug 2024)

Single REPL to create multiple projects.
Understanding and Managing REPLIT Development Minutes.
Suggestions for students who created accounts before Aug 2024
Uploading .py files to REPLs

REPLIT platform changes (since Sep 2025)

How to create Python projects on REPLIT

VS Code with Python Extension for Projects
How can I use VSCode with Python Extension?


Class 2 – Laptop Store

Class Material and Notes

Class Notes , Class Project (GITHUB)

  • Introduction to Dictionaries
  • Basic Dictionary Commands
  • Using Dictionaries in code
  • Lists vs Dictionaries
  • map statement

Independent Activity

Activity and Marking Criteria

Create a REPL (python) which emulates a laptop/product store where customers can choose their products based on the specifications of their choice.

Leaderboard


Class 3 – Top Trumps Game


Class 4 – Welcome Message


Class 5 – Fractals and Recursion

Class Material and Notes

Class Notes
Class Project (GITHUB)

Key Learning Objectives

  1. Recursion — Functions that call themselves
  2. An understanding of fractals


Class 6 – Midterm Revision and Quiz.

Class Material (Live Quiz)

Key Learning Objectives

  1. Revise the concepts covered so far with an interactive quiz.  
  2. Provide students a chance to consolidate their learning and build an independent project of their choice.

Class 7 – Sports Heroes

Class Videos

  1. Introduction and Learning Objectives
  2. Preparing CSV data for Wimbledon and French Open winners
  3. Using CSV module to convert the data into a list of dictionaries
  4. Open Analysis.dat for writing the analysis results (mode = ‘w’)
  5. Getting a list of winners and the set of unique winners using the SET() command
  6. What are sets? How do we create them? What are their important properties?
  7. Comparing Lists/Tuples/Dictionaries and Sets in Python
  8. Writing a line of analysis in the analysis.dat file (mode = ‘a’)
  9. Extracting player info for every winner to a list of dictionary
  10. A function to write a table of data into the analysis.dat file
  11. Creating a subset — Players who have won the Wimbledon more than once
  12. Converting the analysis code to a function so that we can reuse it easily
  13. Introducing comparative analysis using Wimbledon and French Open datasets
  14. A function to write values from a set to our analysis.dat file (mode = ‘a’)
  15. Union of sets to find players who have won EITHER Wimbledon OR French Open
  16. Intersection of sets to find players who have won BOTH Wimbledon And French Open
  17. Difference to find players who have Wimbledon but not French Open or vice-versa
  18. Symmetric Difference for players who have won Wimbledon or French Open, not both
  19. Wrapping up with an important formula from SET theory in mathematics and bonus ideas

Class Material & Notes

Class Notes, Class Project (GITHUB)
Wimbledon.csv
FrenchOpen.csv

Key Learning Objectives

  1. Introduction to sets
  2. Uses of set operations

Class 8 – Bit by Bit


Class 9 – Connect Four (Turtle)


Class 10 – MineSweeper (Tkinter)


Class 11 Quiz


Class 12 Project Showcase