> ## 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 10: Guess the secret number

> Hands-on lab · 20 min · Module 5

Keep asking for guesses in a `while` loop until the player finds the secret number, with higher-or-lower hints and a count of attempts.

[Open Lab 10 in the IP Lab Portal](https://labs.intellectualpoint.com/labs/pcep-lab-10-guess-number)

## What you will practice

* Loop with `while` until a condition is met
* Give higher or lower hints
* Count the number of attempts

## Before you start

Time
20 minutes
*Hands-on in Python 3*

Where
IP Lab Portal
*labs.intellectualpoint.com*

Module
Module 5: Loops
*PCEP-30-03*

* In the IP Lab Portal, open **Lab 10 - Guess the secret number**.
* In class, this lab comes right after the **Lesson 2 recap** slide in [Module 5 core material](https://python-training.ipoint-labs.com/pcep/module-05/material.md).


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