What will be the output of the following Python code if the system date is 18th June, 2017 (Sunday)?
Posted: Wed Jul 13, 2022 7:45 pm
import datetime
tday=datetime.date.today()
print(tday)
a) 18-06-2017
b) 06-18-2017
c) 2017-06-18
d) Error
tday=datetime.date.today()
print(tday)
a) 18-06-2017
b) 06-18-2017
c) 2017-06-18
d) Error