Code: Alles auswählen
$ python3
>>> import datetime
>>> t1 = datetime.timedelta(days=0, hours=2, minutes=52)
>>> t2 = datetime.timedelta(days=1, hours=18, minutes=18)
>>> t3 = datetime.timedelta(days=2, hours=11, minutes=31)
>>> str(t1 + t2 + t3)
'4 days, 8:41:00'