Mar-17-2021, 03:16 PM
I've got a problem.
So this is what I want to make .
So this is what I want to make .
from datetime import timedelta from datetime import datetime a = timedelta(hours=10 , minutes=10) b = datetime.now print (a-b)It gives this error:
Error:TypeError: unsupported operand type(s) for -: 'datetime.timedelta' and 'builtin_function_or_method'
Please help