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
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

You have used functions made by others: print(), len(), range(). Now you write your own. A function is a group of lines with a name, so that you write them once and use them as often as you like. In this course you define and call a function, give it values to work with, get an answer back with return, set default values, make functions that answer yes or no, and let one function use another. You learn where a variable lives and why a variable made inside a function is not known outside it, and how to test a function with a table of cases. A toolbox of functions is the project at the end. The practice runs your functions on many inputs and tells you which ones fail.

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