> ## 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 7: Ticket price checker

> Hands-on lab · 15 min · Module 4

Read a visitor's age and print the child or adult ticket with `if` and `else`, then test the ages on each side of the limit.

[Open Lab 7 in the IP Lab Portal](https://labs.intellectualpoint.com/labs/pcep-lab-07-ticket-price)

## What you will practice

* Compare an input value with a threshold
* Choose between two outputs with `if` and `else`
* Test the boundary ages

## Before you start

Time
15 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 7 - Ticket price checker**.
* In class, this lab comes right after the **Lesson 3 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.