Konwertuj wymieszany ciąg na pływak

from fractions import Fraction
float(sum(Fraction(s) for s in '1 2/3'.split()))
Shy Shrike