This curriculum is designed for absolute beginners in Python programming, gradually introducing concepts across 10 lessons.
It includes practice problems, examples, and homework to reinforce learning.
The lessons cover:
- Printing, variables, importing files
- Casting, math operators, user input,
forloops - Comparison operators,
if/else, modulo, random numbers - Logical operators
- Lists (indexing, length, random choice, functions)
- Searching lists & counting items
- Summing and finding largest items in lists
- Functions (return values, local/global variables, common errors)
whileloop- Large Problem Set of 15 problems of varying difficulty covering all previous lessons
- Teacher-led instruction is required.
- The teacher will explain the concepts using the sample code provided in each lesson.
- After instruction, students complete problem sets for practice.
- The problems do not contain answers: students are expected to attempt solutions themselves.
- Teachers may give hints but encourage independent problem-solving.
- For Lesson 10, students are encouraged to solve independently, with fewer points awarded if teacher help is used.
- Open the repository in GitHub Codespaces by clicking the green Code button on the repo page and selecting Codespaces → New codespace.
- When prompted, select 2-core machine for better performance.
- This will launch a ready-to-use online development environment in your browser, with Python pre-installed.
- Students can code directly in Codespaces without needing to install anything locally.
- When you make changes, they are saved automatically in the Codespaces environment, but not yet in GitHub.
- In the left sidebar, click the Source Control icon (or press
Ctrl+Shift+G/Cmd+Shift+G). - Write a short description of what you changed in the message box (e.g., "Completed Lesson 2 Homework").
- Click the ✓ Commit button.
- Click Sync Changes (🔄) to upload your work to GitHub so your teacher can see it.
- Always shut down your Codespace after use to save resources:
- Go to the Codespaces tab on GitHub (under your profile).
- Find the running Codespace.
- Click the ⋯ menu and select Stop Codespace.
- Inside Codespaces, open the Command Palette (
Ctrl+Shift+PorCmd+Shift+Pon Mac). - Search for Live Share: Start Collaboration Session.
- Copy the generated Live Share link and send it to your teacher so they can join your coding session in real-time.
- Each lesson has:
- Sample code
- Practice problems
- Homework problems
- Lesson 10 only includes a problem set which has points per problem based on difficulty.