tday=datetime.date.today()
bday=datetime.date(2017,9,18)
till_bday=bday-tday
print(till_bday)
a) 3 months, 0:00:00
b) 90 days, 0:00:00
c) 3 months 2 days, 0:00:00
d) 92 days, 0:00:00
Point out the error (if any) in the code shown below if the system date is 18th June, 2017?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Point out the error (if any) in the code shown below if the system date is 18th June, 2017?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!