You are viewing a single comment's thread. Return to all comments →
Python 3.x:
from datetime import datetime as dt fmt = '%a %d %b %Y %H:%M:%S %z' for i in range(int(input())): print(int(abs((dt.strptime(input(), fmt) - dt.strptime(input(), fmt)).total_seconds())))
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 →
Python 3.x: