def getMostRecentDate(emails):
 dates = [getDate(e) for e in emails]
 dates.sort(reverse=True)
 if dates:
  return dates[0]
 return None

def getMostRecentDate ( emails ) : dates = [ getDate ( e ) for e in emails ] dates . sort ( reverse = True ) if dates : return dates [ 0 ] return None
returns the most recent date of any email in the list provided .