What Will Be The Output Of The Following Python Codep Pre #835
What will be the output of the following Python code?</p> <pre><code class="language-python">import datetime d=datetime.date(2017,06,18) 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(2017,06,18) print(d)
Error
2017-06-18
18-06-2017
06-18-2017