Python Question and Answers – Datetime Module – 1
This set of Python Multiple Choice Questions & Answers (MCQs) focuses on “Datetime Module – 1”. 1. 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 2. What will be the output of the following Python code? import datetime d=datetime.date(2017,06,18) print(d) a) … Read more