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 →

Learn

  • Physics
  • Chemistry
  • Mathematics
  • Biology
  • Python Programming
  • Statistics & Data 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.HelpAboutContactPrivacy 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
1 course
Import a Toolbox: Modules
Python Programming · High School (9–10), High School (11–12), Undergraduate, General · Modules and Libraries
FreeCh 2 · 2/2

A module is a toolbox of code that you can use in your own program. Someone has already written, tested and improved a function for the square root, for rolling a die, for the median of a list and for the number of days between two dates. In this course you import the math, random, statistics and datetime modules, use their tools to solve small everyday problems, and learn the ways of importing. A lesson on finding and choosing tools shows how to look inside a module with dir and help, how to read an import error, and which mistakes make an import fail. A dice laboratory is the project at the end: you roll a die hundreds of times and see how fair it is. The practice runs your code and tells you which results are wrong.

5Lessons14Problems7Python Labs1Question Set1Mock Test
StemPy LabStemPy Lab
How courses work:A guide for learners and teachers