Python Foundations
From print('hello') to building your first app.
Python Foundations covers everything in the CBSE/ICSE Class 6–12 computer-science syllabus and goes one step further — every concept ends with a runnable browser exercise and an auto-graded quiz. Students move from print() through variables, loops, lists and functions to a real mini-project of their choice.
Why it matters
- Python is now in the school syllabus from Class 6 across CBSE, ICSE and many state boards.
- It is the gateway language for AI, data and automation — the highest-paid early-career skills.
- Schools without a coding lab can deliver world-class Python lessons in any browser.
Who it's for
- Class 6–12 students preparing for board CS exams or just curious
- Schools rolling out an NEP-aligned coding curriculum
- Parents wanting verifiable proof of coding progress
Modules
- Module 1Hello, Python
Run your first Python program right in the browser.
- Module 2Variables & Data Types
Store numbers, text and True/False in named variables — like labelled boxes.
- Module 3Loops
Repeat work with for and while — tables, patterns, and automation.
- Module 4Conditionals
Teach your program to decide with if, elif, and else.
- Module 5Lists & Indexing
Store many values in one variable — scores, names, sensor readings.
- Module 6Numbers & Math
Arithmetic, powers, integer division, and the math module for school problems.
- Module 7Functions
Name a block of code once and call it many times — DRY for cleaner programs.
- Module 8Strings Deep Dive
Slice text, change case, and measure length — the skill behind passwords, names, and CSV rows.
- Module 9Dictionaries
Labelled storage — student ID → name, sensor pin → reading, word → Hindi meaning.
- Module 10Files & Errors
Handle crashes gracefully with try/except before you tackle real file I/O projects.
Build a Quiz App or CLI Calculator
Pick one of two briefs: (a) a 5-question quiz program that scores the user, or (b) a calculator that handles +, -, ×, ÷ with input validation. Submit a working .py file + a 200-word reflection.
- Code runs without errors on 3 sample inputs (2 pts)
- Uses functions to split logic into reusable pieces (2 pts)
- Handles invalid input gracefully (2 pts)
- Reflection explains 1 bug you fixed + how (2 pts)
- Bonus: feature not in the brief (2 pts)
Outcomes
- Read and write Python programs up to ~80 lines confidently
- Debug common errors using tracebacks
- Ship a small CLI app with input, logic and output
- Earn a Drishti Innovations Python Foundations certificate
FAQ
Do I need to install Python?
No. The whole track runs in your browser via Pyodide. Schools can deliver it on any Chromebook or low-end laptop.
Is the content aligned to CBSE / ICSE?
Yes — Modules 1–10 cover every concept in the CBSE Class 6–12 CS syllabus, sequenced for self-study.
What happens after the capstone?
Learners unlock the Python for AI track (Track 4), which leads into the AI Mastery Future Skill.
