> ## 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 31: Robust calculator

> Hands-on lab · 25 min · Module 12

Make a calculator survive bad numbers, division by zero and huge answers, with `except` branches in the right order, and keep it running until you quit.

[Open Lab 31 in the IP Lab Portal](https://labs.intellectualpoint.com/labs/pcep-lab-31-robust-calculator)

## What you will practice

* Handle several exception types
* Order `except` branches
* Keep the program running after an error

## Before you start

Time
25 minutes
*Hands-on in Python 3*

Where
IP Lab Portal
*labs.intellectualpoint.com*

Module
Module 12: Exceptions
*PCEP-30-03*

* In the IP Lab Portal, open **Lab 31 - Robust calculator**.
* In class, this lab comes right after the **Lesson 4 recap** slide in [Module 12 core material](https://python-training.ipoint-labs.com/pcep/module-12/material.md).


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