def depth_to_location(depth: float):
    """
    Convert depth (of polyp) to location in colon
        based on https://training.seer.cancer.gov/colorectal/anatomy/figure/figure1.html
    :param depth:
    :return:
    """
    locations = []
    if depth <= 4:
        locations.append('anus')
    if 4 <= depth <= 17:
        locations.append('rectum')
    if 15 <= depth <= 57:
        locations.append('sigmoid')
    if 57 <= depth <= 82:
        locations.append('descending')
    if 80 <= depth <= 84:  # I made this up
        locations.append('hepatic')
    if 82 <= depth <= 132:
        locations.append('transverse')
    if 130 <= depth <= 134:
        locations.append('splenic')
    if 132 <= depth <= 147:
        locations.append('ascending')
    if 147 <= depth:
        locations.append('cecum')
    return locations