import datetime
tday=datetime.date.today()
print(tday)
a) 18-06-2017
b) 06-18-2017
c) 2017-06-18
d) Error
What will be the output of the following Python code if the system date is 18th June, 2017 (Sunday)?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
What will be the output of the following Python code if the system date is 18th June, 2017 (Sunday)?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!