Python Convert fraction to decimal,float(a)