Python Decimal to Fraction Conversion - Writing Decimals as Fractions
Offered By: Dot Physics via YouTube
Course Description
Overview
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
Related Courses
Information TheoryThe Chinese University of Hong Kong via Coursera Intro to Computer Science
University of Virginia via Udacity Analytic Combinatorics, Part I
Princeton University via Coursera Algorithms, Part I
Princeton University via Coursera Divide and Conquer, Sorting and Searching, and Randomized Algorithms
Stanford University via Coursera