title: Does Python have a function to reduce fractions?
body: <p>For example, when I calculate <code>98/42</code> I want to get <code>7/3</code>, not <code>2.3333333</code>, is there a function for that using Python or <code>Numpy</code>?</p>