Examveda

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

D. Error

Answer: Option C


This Question Belongs to Python Program >> Module In Python

Join The Discussion

Related Questions on Module in Python