I have been using python to do algebraic calculations, but at many times when writing 1/2 Python writes 0.5, but I wanted you to write 1/2 and only when needed, convert it to a float.
I'm having a hard time imposing a simplification because Python doesn't recognize 32.0 as being 32, in short example situation where I have.
$\frac{(32.0-64x)^2}{4096}$
Since the answer could be
$\frac{(1-2x)^2}{4}$