human
Complete this python program:
def hsl_to_rgb(h, s, l):
assistant
#Here is the Python code you requested.

    """Convert a color in h, s, l to a color in r, g, b
    """
    h /= 360
    s /= 100
    l /= 100
    m2 = ((l * (s + 1)) if (l <= 0.5) else ((l + s) - (l * s)))
    m1 = ((2 * l) - m2)
    def h_to_rgb(h):
        h = (h % 1)
        if ((6 * h) < 1):
            return (m1 + ((6 * h) * (m2 - m1)))
        if ((2 * h) < 1):
            return m2
        if ((3 * h) < 2):
            return (m1 + ((6 * ((2 / 3) - h)) * (m2 - m1)))
        return m1
    (r, g, b) = map((lambda x: round((x * 255))), map(h_to_rgb, ((h + (1 / 3)), h, (h - (1 / 3)))))
    return (r, g, b)