What Will Be The Output Of The Following Python Codep Pre #849
What will be the output of the following Python code?</p> <pre><code class="language-python">import time t=(2010, 9, 20, 8, 15, 12, 6) time.asctime(t)</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.2.
What will be the output of the following Python code?
import time t=(2010, 9, 20, 8, 15, 12, 6) time.asctime(t)
‘20 Sep 2010 8:15:12 Sun’
‘2010 20 Sept 08:15:12 Sun’
‘Sun Sept 20 8:15:12 2010’
Error