You're offline — cached pages and worlds still work
Drishti Innovations logo
Drishti Innovations
Ages 11–17 · Class 6–12

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

  1. Module 1
    Hello, Python

    Run your first Python program right in the browser.

  2. Module 2
    Variables & Data Types

    Store numbers, text and True/False in named variables — like labelled boxes.

  3. Module 3
    Loops

    Repeat work with for and while — tables, patterns, and automation.

  4. Module 4
    Conditionals

    Teach your program to decide with if, elif, and else.

  5. Module 5
    Lists & Indexing

    Store many values in one variable — scores, names, sensor readings.

  6. Module 6
    Numbers & Math

    Arithmetic, powers, integer division, and the math module for school problems.

  7. Module 7
    Functions

    Name a block of code once and call it many times — DRY for cleaner programs.

  8. Module 8
    Strings Deep Dive

    Slice text, change case, and measure length — the skill behind passwords, names, and CSV rows.

  9. Module 9
    Dictionaries

    Labelled storage — student ID → name, sensor pin → reading, word → Hindi meaning.

  10. Module 10
    Files & Errors

    Handle crashes gracefully with try/except before you tackle real file I/O projects.

Capstone

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.