Converting Fractions and Decimals

Displaying the fraction like this is rather rudimentary:
print("The fraction is ", numerator, “/”, denominator)

I did it this way:
display(Latex(rf’\text{{The fraction is }} \frac{{{numerator}}}{{{denominator}}}'))