Grades 6–8 · first-time coders
Foundation Python
A first Python book in eight chapters: how programs think, print, variables, arithmetic, decisions, loops, lists, and a pocket-money project — with everyday Indian school stories.
Your progress (this browser)
0%
0 of 8 lessons complete
- Start
Lesson 1 · 28 min
Programs are recipes
Asha helps her grandmother make lemonade. The recipe is not a poem — it is a list of steps in a fixed order: wash lemons, squeeze, add sugar…
- Start
Lesson 2 · 30 min
Hello, Python — talking to the screen
Every morning the school notice board shows one message at a time: date, event, reminder. print() is your notice board. Whatever you put ins…
- Start
Lesson 3 · 32 min
Variables — labelled bags
In a school bag, the pencil box is labelled so it is not mixed with tiffin. A variable is a labelled bag in the computer’s memory: the name …
- Start
Lesson 4 · 30 min
Doing maths with named values
At the city museum, a child ticket is ₹40. Three friends pay together. The cashier could add 40 three times, or multiply. Python should do t…
- Start
Lesson 5 · 34 min
Decisions — if, elif, else
A traffic light is a decision box at a junction. If the lamp is red, vehicles stop. If it is yellow, they wait. Otherwise they go. Your prog…
- Start
Lesson 6 · 32 min
Loops — repeat without copy-paste
A washing machine does not have a separate button for rinse 1, rinse 2, rinse 3. It repeats the rinse cycle. Copy-pasting print("Rinse") thr…
- Start
Lesson 7 · 34 min
Lists — several items in one bag
A shopping list is one scrap of paper with many lines: milk, bread, mangoes. You do not invent a new variable milk1, milk2. A Python list is…
- Start
Lesson 8 · 36 min
Mini project — pocket money tracker
Kabir gets ₹50 at the start of the week. He spends on a pencil and a snack, then checks what is left for the piggy bank. This chapter is not…