Examveda

Which of the following will throw an error if used after the following Python code?
tday=datetime.date.today()
bday=datetime.date(2017,9,18)
t_day=bday-tday

A. print(t_day.seconds)

B. print(t_day.months)

C. print(t_day.max)

D. print(t_day.resolution)

Answer: Option B


This Question Belongs to Python Program >> Module In Python

Join The Discussion

Related Questions on Module in Python