title: Can I get a fraction from a number in python?
body: <p>I am doing some calculations and before outputting I want to change the number to a fraction.
  For example 0.25 would become 1/4, well in a list of the two numbers [1, 4].</p>