(location_string)
return round(float(lat), 4), round(float(lon), 4)
>>> _dhis2_geolocation('-33.6543213 19.12344312 abcdefg')
    (-33.6543, 19.1234)
>>> _dhis2_geolocation('-33.6543213 19.12344312 abcdefg')
    (-33.6543, 19.1234)
>>> _dhis2_geolocation ( - 33 . 6543213 19 . 12344312 abcdefg ) ( - 33 . 6543 19 . 1234 )
def _dhis2_geolocation(location_string):
    """
    >>> _dhis2_geolocation('-33.6543213 19.12344312 abcdefg')
    (-33.6543, 19.1234)
    """
    (lat, lon) = location_string.split(' ')[:2]
    return round(float(lat), 4), round(float(lon), 4)
def _dhis2_geolocation ( location_string ) : ( lat , lon ) = location_string . split ( ' ' ) [ : 2 ] return round ( float ( lat ) , 4 ) , round ( float ( lon ) , 4 )