> ## 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 9: Leap year checker

> Hands-on lab · 20 min · Module 4

Use `%` to test whether a year divides by 4, 100 and 400, and combine the tests with `and`, `or` and `not` to follow the full leap-year rule.

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

## What you will practice

* Use `%` to test divisibility
* Combine conditions with `and`, `or`, and `not`
* Check years like 1900, 2000, and 2024

## Before you start

Time
20 minutes
*Hands-on in Python 3*

Where
IP Lab Portal
*labs.intellectualpoint.com*

Module
Module 4: Conditional execution
*PCEP-30-03*

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


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