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)
import datetime
tday=datetime.date.today()
print(tday)A. 18-06-2017
B. 06-18-2017
C. 2017-06-18
D. Error
Answer: Option C

Join The Discussion