What Will Be The Output Of The Following Python Codep Pre #834
What will be the output of the following Python code?</p> <pre><code class="language-python">import datetime d=datetime.date(2016,7,24) print(d)</code></pre>
This multiple choice question (MCQ) is related to the book/course gs gs109 Python. It can also be found in gs gs109 Python Modules - Python Datetime Module - Quiz No.1.
What will be the output of the following Python code?
import datetime d=datetime.date(2016,7,24) print(d)
Error
2017-07-24
2017-7-24
24-7-2017