> ## 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 28: Flexible statistics

> Hands-on lab · 20 min · Module 11

Write functions that take any number of values with `*args` and optional settings with `**kwargs`, then break the parameter order on purpose.

[Open Lab 28 in the IP Lab Portal](https://labs.intellectualpoint.com/labs/pcep-lab-28-flexible-statistics)

## What you will practice

* Collect values with `*args`
* Accept options with `**kwargs`
* Order parameters correctly

## Before you start

Time
20 minutes
*Hands-on in Python 3*

Where
IP Lab Portal
*labs.intellectualpoint.com*

Module
Module 11: Flexible arguments and scope
*PCEP-30-03*

* In the IP Lab Portal, open **Lab 28 - Flexible statistics**.
* In class, this lab comes right after the **Lesson 2 recap** slide in [Module 11 core material](https://python-training.ipoint-labs.com/pcep/module-11/material.md).


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