• problem with code

Question related to mission Days Between

 
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?