> ## 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 3: Miles and kilometers converter

> Hands-on lab · 20 min · Module 2

Store race distances in well-named variables and a constant, convert them both ways, and round the answers.

[Open Lab 3 in the IP Lab Portal](https://labs.intellectualpoint.com/labs/pcep-lab-03-miles-km-converter)

## What you will practice

* Name variables that explain their contents
* Convert miles to kilometers and back
* Print rounded results with labels

## Before you start

Time
20 minutes
*Hands-on in Python 3*

Where
IP Lab Portal
*labs.intellectualpoint.com*

Module
Module 2: Literals and variables
*PCEP-30-03*

* In the IP Lab Portal, open **Lab 3 - Miles and kilometers converter**.
* In class, this lab comes right after the **Lesson 7 recap** slide in [Module 2 core material](https://python-training.ipoint-labs.com/pcep/module-02/material.md).


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