Light Mode
Dark Mode
problem with code
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: May 11, 2021, 7:42 a.m.
Updated: May 11, 2021, 10:03 p.m.
0
7
User avatar
darsna19