Examveda

What will be the output of the following Python code?
import datetime
d=datetime.date(2016,7,24)
print(d)

A. Error

B. 2017-07-24

C. 2017-7-24

D. 24-7-2017

Answer: Option B


This Question Belongs to Python Program >> Module In Python

Join The Discussion

Related Questions on Module in Python