> ## 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 27: Prime finder

> Hands-on lab · 20 min · Module 10

Write `is_prime()`, which returns from inside its loop, then call it in a loop to list the primes up to a limit with a default of 50.

[Open Lab 27 in the IP Lab Portal](https://labs.intellectualpoint.com/labs/pcep-lab-27-prime-finder)

## What you will practice

* Return from inside a loop
* Use a default parameter value
* Call your function in a loop

## Before you start

Time
20 minutes
*Hands-on in Python 3*

Where
IP Lab Portal
*labs.intellectualpoint.com*

Module
Module 10: Defining functions
*PCEP-30-03*

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


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