Python Get Variable From String To Float C