from datetime import timedelta, date
def days_diff(a, b):
a = tuple(a)
b = tuple(b)
a = date(*a)
b = date(*b)
return print(abs(a-b).days)
the code is not working even though it runs in another IDE correctly. IS it a assertion error?
Created at: 2021/05/11 07:42; Updated at: 2021/05/11 22:03