Back to Freecodecamp

Functions

curriculum/challenges/english/blocks/learn-functions-and-graphing/6331d266b51aeedd1a2bd64b.md

latest673 B
Original Source

--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>

--assignment--

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

--questions--

--text--

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

--answers--

2


3


4


5

--video-solution--

3