<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def last_midnight():
 """ return a datetime of last mid-night """

    now = datetime.now()
    return datetime(now.year, now.month, now.day)