🐍 Free · Class 5 (5th Std) · no sign-in needed
Python for Kids – Class 5 (5th Std)
Learn Python the way you learn a game: watch the code run step by step, change it, press ▶ Run and see what happens. Real Python runs right on this page — on a phone, tablet or computer. Nothing to install, nothing to pay.
- 📚 18 lessons
- 🧩 54 challenges
- ✨ 18 interactive
- ▶ real Python in the browser
name = input("Your name? ")
print("Hello,", name, "- let's code!")Your name? Riya Hello, Riya - let's code!
🗺️ Your learning map
Python for kids, made for Class 5 (5th Std), ages 10–11. This free Python programming course, “Python Basics - Start Coding”, has 18 short lessons that explain Python basics for beginners step by step, with code examples you can read line by line. Each lesson ends with Easy, Medium and Hard practice challenges. Reading the lessons needs no sign-in, and there is nothing to pay.
Part 1 · Talk to the computer
- 1Lesson 1: Python Introduction & Setup✨ Interactive: animation · ▶ Run · quiz · challenge · 20 minStart →
- 2Lesson 2: Variables & Basic Data Types✨ Interactive: animation · ▶ Run · quiz · challenge · 25 min→
- 3Lesson 3: Basic Arithmetic Operations✨ Interactive: animation · ▶ Run · quiz · challenge · 25 min→
- 4Lesson 4: Getting User Input✨ Interactive: animation · ▶ Run · quiz · challenge · 25 min→
- 5Lesson 5: String Operations & Formatting✨ Interactive: animation · ▶ Run · quiz · challenge · 30 min→
- 6Lesson 6: First Mini Projects✨ Interactive: animation · ▶ Run · quiz · challenge · 35 min→
Part 2 · Decisions, loops and lists
- 7Lesson 7: If Statements & Decisions✨ Interactive: animation · ▶ Run · quiz · challenge · 25 min→
- 8Lesson 8: Loops – Repeating Code✨ Interactive: animation · ▶ Run · quiz · challenge · 25 min→
- 9Lesson 9: Combining Conditions – and, or, not✨ Interactive: animation · ▶ Run · quiz · challenge · 25 min→
- 10Lesson 10: Lists – Storing Many Values✨ Interactive: animation · ▶ Run · quiz · challenge · 25 min→
- 11Lesson 11: Dictionaries – Keys and Values✨ Interactive: animation · ▶ Run · quiz · challenge · 25 min→
- 12Lesson 12: Data Processing – Counting, Totals and Averages✨ Interactive: animation · ▶ Run · quiz · challenge · 30 min→
Part 3 · Functions and real projects
- 13Lesson 13: Functions – Make Your Own Commands✨ Interactive: animation · ▶ Run · quiz · challenge · 30 min→
- 14Lesson 14: Advanced Functions – Defaults, Keywords & Scope✨ Interactive: animation · ▶ Run · quiz · challenge · 25 min→
- 15Lesson 15: Problem Solving with Functions✨ Interactive: animation · ▶ Run · quiz · challenge · 30 min→
- 16Lesson 16: Error Handling – try and except✨ Interactive: animation · ▶ Run · quiz · challenge · 25 min→
- 17Lesson 17: Working with Files – Save and Read Data✨ Interactive: animation · ▶ Run · quiz · challenge · 25 min→
- 18Lesson 18: Capstone Projects – Quiz, Guessing Game & Report Card✨ Interactive: animation · ▶ Run · quiz · challenge · 35 min→
🛠️ What you will build
- A greeting programIt asks your name and says hello — your very first program.Lesson 1 →
- A pocket calculatorAdd, subtract and divide numbers that you type in.Lesson 3 →
- A zoo ticket counterPicks the right ticket price from the visitor's age.Lesson 7 →
- A cricket over scorerAdds up the runs off each ball with a loop.Lesson 8 →
- A class marks bookStores names and marks in a dictionary.Lesson 11 →
- Your own capstone projectA quiz game or a guessing game you design yourself.Lesson 18 →
Finished the course? Get your certificate
Take the final test: 15 questions from the whole course. Get 12 right and you earn a TalentJR course certificate with your name.
Questions parents and students ask
Is Python good for kids in Class 5?
Yes. Python reads almost like English, so a Class 5 student can write a working program in the first lesson. This course uses short lessons, animations that show each step, and small challenges, so children of 10–11 can learn at their own speed.
Do I need to install Python to do this course?
No. Every lesson has a ▶ Run button that runs real Python inside the web page, on a phone, tablet or computer. If you want Python at home later, you can install it free from python.org.
Is this Python course really free?
Yes. All 18 lessons, the animations, quizzes and challenges are free, and you can read every lesson without signing in. Signing in (also free) adds TalentJR points and badges.
How long does the course take?
Each lesson takes about 15–25 minutes. Doing one or two lessons a week, most students finish in two to three months — or faster in the holidays.
What comes after Python Class 5?
Python for Class 6 and Class 7 continue with bigger programs, and later classes move on to JavaScript, C, C++ and SQL — all free on TalentJR Coding.
Keep learning
- Start hereLesson 1: Python Introduction & SetupGet started with Python - what it is and why it's awesome for beginners
- Grade 6 coursePython Control FlowPython coding course for kids.
- Grade 7 coursePython Functions & DataPython coding course for kids.
- Student ToolsFree calculators for studentsPercentage, fraction, ratio and marks calculators with steps.
- CBSEClass 5 CBSE & NCERT study materialMaths, Science and Computer chapters with solutions.
- Future SkillsExplore future skillsAI, robotics and new-age skills explained for students.