<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def decode(hashcode, delta=False):
 """ decode a hashcode and get center coordinate, and distance between center and outer border """


    lat, lon, lat_length, lon_length = _decode_c2i(hashcode)

    if hasattr(float, "fromhex"):
        latitude_delta = 90.0/(1 << lat_length)
        longitude_delta = 180.0/(1 << lon_length)
        latitude = _int_to_float_hex(lat, lat_length) * 90.0 + latitude_delta
        longitude = _int_to_float_hex(lon, lon_length) * 180.0 + longitude_delta
        if delta:
            return latitude, longitude, latitude_delta, longitude_delta
        return latitude, longitude

    lat = (lat << 1) + 1
    lon = (lon << 1) + 1
    lat_length += 1
    lon_length += 1

    latitude = 180.0*(lat-(1 << (lat_length-1)))/(1 << lat_length)
    longitude = 360.0*(lon-(1 << (lon_length-1)))/(1 << lon_length)
    if delta:
        latitude_delta = 180.0/(1 << lat_length)
        longitude_delta = 360.0/(1 << lon_length)
        return latitude, longitude, latitude_delta, longitude_delta

    return latitude, longitude