> ## 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 8: Income tax calculator

> Hands-on lab · 25 min · Module 4

Pick the right tax formula for an income with an `if`, `elif`, `else` chain ordered from the highest bracket down, and round the tax to two decimals.

[Open Lab 8 in the IP Lab Portal](https://labs.intellectualpoint.com/labs/pcep-lab-08-income-tax)

## What you will practice

* Build an `if`, `elif`, `else` chain
* Order the conditions from highest to lowest
* Round the result to two decimals

## Before you start

Time
25 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 8 - Income tax calculator**.
* In class, this lab comes right after the **Lesson 4 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.