> ## 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 14: Block pyramid

> Hands-on lab · 20 min · Module 5

Work out how many layers of a pyramid fit in a pile of blocks, print the height and the blocks left over, then draw it with nested loops.

[Open Lab 14 in the IP Lab Portal](https://labs.intellectualpoint.com/labs/pcep-lab-14-block-pyramid)

## What you will practice

* Track a running total in a loop
* Stop when the next layer does not fit
* Print the pyramid with nested loops

## 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 14 - Block pyramid**.
* In class, this lab comes right after the **Lesson 6 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.