Calculate the difference of days between given dates. DS301222

from datetime import date

tdy = date(2023,2,19)

eoy = date(2022,12,31)

diff=tdy-eoy

days=diff.days

print(days)

2 Likes

@kinnukeshiya

Correct, keep it up.

Correct keep Practicing @kinnukeshiya