150,715 views
42 votes
42 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

User Fpointbin
by
2.8k points

1 Answer

22 votes
22 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 Xiao Liang
by
2.4k points