Examveda

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'

C. '20 Sep 08:45:12 Sun 2010'

D. '2010 20 Sep 08:45:12 Sun'

Answer: Option B


This Question Belongs to Python Program >> Module In Python

Join The Discussion

Related Questions on Module in Python