Vidyalelo
Python · Q171

Module in Python

Programming · Python · question 171

Q171

Point out the error (if any) in the code shown below if the system date is 18th June, 2017? 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
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board