HelpContactFor teachers and institutes
>_StemPy Lab
Mock TestsClasses

>_StemPy Lab

Learn. Solve. Code the solutions. Test yourself.

Live examsFree mock exams, timed and rankedEveryone starts together, and your score and rank come the moment it ends.See the exams →
Live examsInternational live exams are comingTell us which exam you want first. Timed practice papers are open now.See what is coming →

Learn

  • Physics
  • Chemistry
  • Mathematics
  • Biology
  • Python Programming
  • Statistics & Data Science
  • Computer Science
  • Space Science and Astronomy
  • Earth and Environmental Science
  • Classes
  • Groups

Practice

  • Problems
  • Quizzes
  • Mock Tests
  • Prepare for an Exam
  • Question Sets
  • Exams
  • Certificates
  • Python Labs
  • AI Practice Generator
  • Student-Created Tests

Community

  • Discussions
  • Resources
  • Notes
  • Glossary
  • Blog

Account

  • Log in
© 2026 senLearn. All rights reserved.HelpFor SchoolsAboutContactPrivacy PolicyTerms of UseRefund Policy

Courses

Teacher-curated, self-paced courses. Looking for a guided sequence through a full topic? See Learning Paths.

All CoursesLearning Paths
13 courses
Three Mini Projects
Python Programming · Middle Stage (6–8), High School (9–10), High School (11–12), Undergraduate, General · Mini Projects
FreeCh 5 · 3/3

Should a quiz accept PaRiS for paris? How do you find the fault in your own program?

  • Plan each project with a table of expected answers
  • Build a guessing game, a quiz and a grade book
  • Find the fault in your own programs with a checklist
4Lessons14Problems6Python Labs1Question Set1Mock Test
StemPy LabStemPy Lab
Functions: Name a Recipe
Python Programming · Middle Stage (6–8), High School (9–10), High School (11–12), Undergraduate, General · Functions
FreeCh 5 · 2/3

What does return do that print cannot? Why does a variable vanish after a function?

  • Define functions with values, return and defaults
  • Learn where a variable lives
  • Test a function with a table of cases
6Lessons14Problems8Python Labs1Question Set1Mock Test
StemPy LabStemPy Lab
Lists: Many Values in One Variable
Python Programming · Middle Stage (6–8), High School (9–10), High School (11–12), Undergraduate, General · Lists, Loops
FreeCh 5 · 1/3

After b = a, why does changing b also change a?

  • Make lists and read them by position and slice
  • Add, remove, sort and loop through items
  • Find totals and averages, and make a table of lists
5Lessons15Problems8Python Labs1Question Set1Mock Test
StemPy LabStemPy Lab
Repeat Until: while Loops
Python Programming · Middle Stage (6–8), High School (9–10), High School (11–12), Undergraduate, General · Loops
FreeCh 4 · 2/2

Why does a loop sometimes never stop? How do you leave a loop early?

  • Write while loops and learn what makes them stop
  • Use break and continue, and ask again and again
  • Find endless loops and build a guessing game
5Lessons14Problems9Python Labs1Question Set1Mock Test
StemPy LabStemPy Lab
Repeat with for: Loops
Python Programming · Middle Stage (6–8), High School (9–10), High School (11–12), Undergraduate, General · Loops
FreeCh 4 · 1/2

Why does range(1, 6) stop at 5? Can a loop add 1 to 100 for you?

  • Repeat lines with for and range()
  • Build a sum, a count or a factorial with a loop
  • Put one loop inside another to print tables and patterns
5Lessons14Problems8Python Labs1Question Set1Mock Test
StemPy LabStemPy Lab
And, Or, Not: Combining Conditions
Python Programming · Middle Stage (6–8), High School (9–10), High School (11–12), Undergraduate, General · Conditionals: if, elif, else
FreeCh 3 · 2/2

Is every year divisible by 4 a leap year? Who gets into the club without a ticket?

  • Combine conditions with and, or and not
  • Check a range and ask if a value is in a group
  • Prove a condition with a truth table
5Lessons13Problems7Python Labs1Question Set1Mock Test
StemPy LabStemPy Lab
If, Elif, Else: Making Decisions
Python Programming · Middle Stage (6–8), High School (9–10), High School (11–12), Undergraduate, General · Conditionals: if, elif, else
FreeCh 3 · 1/2

Why does if x = 5: give an error? Where do mistakes in a decision hide?

  • Compare values and run lines only when True
  • Choose between two, then between many
  • Test every branch and build a ticket office
5Lessons13Problems8Python Labs1Question Set1Mock Test
StemPy LabStemPy Lab
Install and Run Python at Home
Python Programming · Middle Stage (6–8), High School (9–10), High School (11–12), Undergraduate, General · Getting Started with Python
FreeCh 2 · 3/3

Do you need to install Python to learn it? Why does Windows say python is not recognized?

  • Install Python on Windows, macOS or Linux
  • Write a program as a file and run it
  • Fix the problems most beginners meet
4Lessons13Problems5Python Labs1Question Set1Mock Test
StemPy LabStemPy Lab
Words and Text: Strings
Python Programming · Middle Stage (6–8), High School (9–10), High School (11–12), Undergraduate, General · Strings
FreeCh 2 · 2/3

How do you write a word backwards? Why can you not change one letter of a string?

  • Count, pick out and slice letters
  • Clean, join and change the case of text
  • Use f-strings and build a name tag maker
5Lessons13Problems8Python Labs1Question Set1Mock Test
StemPy LabStemPy Lab
Ask and Answer: input()
Python Programming · Middle Stage (6–8), High School (9–10), High School (11–12), Undergraduate, General · Input and Output
FreeCh 2 · 1/3

Why can 3 plus 4 give 34? How do friends split a bill fairly?

  • Ask with input() and turn the answer into a number
  • Build a temperature converter and a tip calculator
  • Make a unit converter and a bill splitter
4Lessons13Problems8Python Labs1Question Set1Mock Test
StemPy LabStemPy Lab
Python as a Calculator
Python Programming · Middle Stage (6–8), High School (9–10), High School (11–12), Undergraduate, General · Operators and Expressions
FreeCh 1 · 3/3

Why does 4 / 2 give 2.0? Why is 2 + 3 * 4 equal to 14?

  • Use whole-number division, the remainder and powers
  • Learn which sign Python works out first
  • Build a change maker and a clock with round, abs and divmod
5Lessons13Problems8Python Labs1Question Set1Mock Test
StemPy LabStemPy Lab
Boxes with Names: Variables
Python Programming · Middle Stage (6–8), High School (9–10), High School (11–12), Undergraduate, General · Variables and Data Types
FreeCh 1 · 2/3

Why is 12 = age an error? Are score and Score the same variable?

  • Keep values in variables and change them step by step
  • Follow a program by hand and tell four kinds of value apart
  • Choose clear names and build a shop bill
5Lessons14Problems8Python Labs1Question Set1Mock Test
StemPy LabStemPy Lab
Page 1 of 2

Showing 1–12 of 13

How courses work:A guide for learners and teachers