human
Complete this python program:
def dots_to_camel_case(dots):
assistant
#Here is the Python program you requested.

    """Takes a string delimited with periods and returns a camel-case string.
    Example: dots_to_camel_case("foo.bar.baz") //returns fooBarBaz
    """
    def return_upper(match):
        return match.groups()[0].upper()
    return str(DOTS.sub(return_upper, dots))