Vidyalelo
Python · Q114

Module in Python

Programming · Python · question 114

Q114

What will be the output of the following Python code if the system date is 18th June, 2017 (Sunday)? import datetime tday=datetime.date.today() print(tday)

A.
18-06-2017
B.
06-18-2017
C.
2017-06-18
Answer
D.
Error

Answer: Option C

Solution

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