for every k and v in the previous result, add a key into a dictionary: v converted to an integer for k, substitute the resulting dictionary for kw. call the method datetime.date with an argument unpacked dictionary kw, return the result.
return datetime . date ( ** kw )