6.7k views
25 votes
What is the output?

>>>import time

>>>time.localtime()


a. the number of seconds since the epoch


b. the user's time zone


c. the date


d. the time


e. the time-zone offset


It is a select all that apply type of question

1 Answer

3 votes

Answer:

a. the number of seconds since the epoch

Step-by-step explanation:

time.localtime(), returns the number of seconds since the epoch if no argument is passed oyherwise it return struct_time in local time if you pass in seconds since epoch

User Pankaj Wanjari
by
6.2k points