What Will Be The Output Of The Following Python Code If The #837
What will be the output of the following Python code if the system date is 18th June, 2017 (Sunday)?</p> <pre><code class="language-python">import datetime tday=datetime.date.today() print(tday)</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 if the system date is 18th June, 2017 (Sunday)?
import datetime tday=datetime.date.today() print(tday)
18-06-2017
06-18-2017
2017-06-18
Error