class datetime.timedelta(days=0, seconds=0, microseconds=0, milliseconds=0, minutes=0, hours=0, weeks=0)
Returns : Date
from datetime import date
from datetime import time
from datetime import datetime
from datetime import timedelta
time_delt1 = timedelta(days= 270, hours = 9, minutes = 18)
print(time_delt1)
# Sample Output
270 days, 9:18:00