You are viewing a single comment's thread. Return to all comments →
from datetime import datetime # Complete the time_delta function below. def time_delta(t1, t2): format_string = "%a %d %b %Y %H:%M:%S %z" datet1=datetime.strptime(t1, format_string) datet2=datetime.strptime(t2, format_string) difference =abs(datet1-datet2) sec=difference.total_seconds() return(str(int(sec)))
Seems like cookies are disabled on this browser, please enable them to open this website
Time Delta
You are viewing a single comment's thread. Return to all comments →