Back to Freecodecamp

Converting Fractions and Decimals

curriculum/challenges/english/blocks/learn-fractions-and-decimals/6331d258b51aeedd1a2bd649.md

latest762 B
Original Source

--description--

The first video will show you how to convert between fractions, decimals, and percents on paper. Then, it will show you how to do it with Python code.

Here is the <a href="https://colab.research.google.com/drive/1dgeEEODP7cwm_96_JqbjxxJhVpZcFfGe?usp=sharing#scrollTo=NkMTAVF0BlqE" target="_blank" rel="noopener noreferrer nofollow">Colab notebook used in the video.</a> Use this code as a model, and write your own code to convert fractions and decimals.

--assignment--

Add the code to convert fractions and decimals to your algebra Colab notebook.

--questions--

--text--

Which of the following correctly represents "three hundredths" as a decimal?

--answers--

0.3


0.03


0.003


100.3

--video-solution--

2