Vidyalelo
Python · Q20

Module in Python

Programming · Python · question 20

Q20

What will be the output of the following Python code? import time t=(2010, 9, 20, 8, 45, 12, 6, 0, 0) time.asctime(t)

A.
'Sep 20 2010 08:45:12 Sun'
B.
'Sun Sep 20 08:45:12 2010'
Answer
C.
'20 Sep 08:45:12 Sun 2010'
D.
'2010 20 Sep 08:45:12 Sun'

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board