преобразовать строку смешанного числа в плавание
from fractions import Fraction
float(sum(Fraction(s) for s in '1 2/3'.split()))
Shy Shrike
from fractions import Fraction
float(sum(Fraction(s) for s in '1 2/3'.split()))