def uptime_seconds(uptime_list):
 years = uptime_list[0]
 weeks = uptime_list[1]
 days = uptime_list[2]
 hours = uptime_list[3]
 minutes = uptime_list[4]
 days = (((years * 365) + (weeks * 7)) + days)
 minutes = ((((days * 24) * 60) + (hours * 60)) + minutes)
 seconds = (minutes * 60)
 return seconds

def uptime_seconds ( uptime_list ) : years = uptime_list [ 0 ] weeks = uptime_list [ 1 ] days = uptime_list [ 2 ] hours = uptime_list [ 3 ] minutes = uptime_list [ 4 ] days = ( ( ( years * 365 ) + ( weeks * 7 ) ) + days ) minutes = ( ( ( ( days * 24 ) * 60 ) + ( hours * 60 ) ) + minutes ) seconds = ( minutes * 60 ) return seconds
convert a list of the following form: [years .