---
id: 6331d266b51aeedd1a2bd64b
title: "Functions"
challengeType: 15
videoId: rYg12-omcGg
dashedName: functions
---

# --description--

This first video will show you what it means to be a function, and then it will show you how math functions and Python functions are similar.

Here is the <a href="https://colab.research.google.com/drive/1d0e55NoKjKILIum34POv04h0OLpE_pkn" target="_blank" rel="noopener noreferrer nofollow">Colab notebook used in this and the next videos.</a>

# --question--

## --assignment--

Add code to your algebra Colab notebook that creates Python functions for decimal-to-fraction conversions

## --text--

After defining a function in Python, indent each line of the function how many spaces?

## --answers--

2

---

3

---

4

---

5

## --video-solution--

3
