Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Learn how to represent decimal numbers as fractions using Python in this 15-minute tutorial. Explore the concept of the mediant, a mathematical technique for fraction approximation, as inspired by a @standupmaths video. Follow along with the provided Python code to implement this method and gain a deeper understanding of numerical representation. Discover how to convert decimals to their fractional equivalents efficiently, enhancing your Python programming skills and mathematical knowledge.
Syllabus
Use Python to Write a Decimal as a Fraction
Taught by
Dot Physics