> ## Documentation Index
> Fetch the complete documentation index at: https://python-training.ipoint-labs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Lab 25: Leap year function

> Hands-on lab · 15 min · Module 10

Turn the leap year rule into an `is_leap(year)` function that returns `True` or `False`, then test it with several calls.

[Open Lab 25 in the IP Lab Portal](https://labs.intellectualpoint.com/labs/pcep-lab-25-leap-year-function)

## What you will practice

* Define a function with one parameter
* Return `True` or `False`
* Test it with several calls

## Before you start

Time
15 minutes
*Hands-on in Python 3*

Where
IP Lab Portal
*labs.intellectualpoint.com*

Module
Module 10: Defining functions
*PCEP-30-03*

* In the IP Lab Portal, open **Lab 25 - Leap year function**.
* In class, this lab comes right after the **Lesson 3 recap** slide in [Module 10 core material](https://python-training.ipoint-labs.com/pcep/module-10/material.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.