Question
What is the output of the code shown below if the system date is 18th August, 2016?tday=datetime.date.today()print(tday.month())
Answer: Option D
Was this answer helpful ?
The code shown above prints the month number from the system date. Therefor the output will be 8 if the system date is 18th August, 2016.
Was this answer helpful ?
Submit Solution