New Year Countdown
import datetime tod = datetime.datetime.now().date() ny = datetime.date(datetime.datetime.now().year + 1, 1, 1) print(f'{(ny - tod).days} days left until the New Year')
Need a fast expert's response?
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments
Leave a comment