def float_to_tuple(test_str): res = tuple(map(float, test_str.split(', '))) return (res)