Examveda

What will be the output of the following Python code?
import datetime
d=datetime.date(2017,06,18)
print(d)

A. Error

B. 2017-06-18

C. 18-06-2017

D. 06-18-2017

Answer: Option A


This Question Belongs to Python Program >> Module In Python

Join The Discussion

Related Questions on Module in Python